prevent rclick from bleeding through (again)

develop
Myk Taylor 2023-02-06 00:57:33 -08:00
parent 032b62dcbe
commit 2ddd23e45d
No known key found for this signature in database
2 changed files with 2 additions and 0 deletions

@ -37,6 +37,7 @@ changelog.txt uses a syntax similar to RST, with a few special sequences:
## Fixes ## Fixes
- ``Units::isFortControlled``: Account for agitated wildlife - ``Units::isFortControlled``: Account for agitated wildlife
- Fix right click sometimes closing both a DFHack window and a vanilla panel
## Misc Improvements ## Misc Improvements
- `automelt`: is now more resistent to savegame corruption - `automelt`: is now more resistent to savegame corruption

@ -789,6 +789,7 @@ function ZScreen:onInput(keys)
end end
if keys._MOUSE_R_DOWN then if keys._MOUSE_R_DOWN then
df.global.enabler.mouse_rbut_down = 0 df.global.enabler.mouse_rbut_down = 0
df.global.enabler.mouse_rbut = 0
end end
return return
end end