add reminder why we can't clear mouse_lbut

develop
Myk Taylor 2023-01-13 12:17:51 -08:00
parent cc0ff6a93d
commit 6c6c4e159f
No known key found for this signature in database
GPG Key ID: 8A39CA0FA0C16E78
1 changed files with 1 additions and 0 deletions

@ -725,6 +725,7 @@ function ZScreen:onInput(keys)
if ZScreen.super.onInput(self, keys) then
-- ensure underlying DF screens don't also react to handled clicks
if keys._MOUSE_L_DOWN then
-- note we can't clear mouse_lbut here. otherwise we break dragging,
df.global.enabler.mouse_lbut_down = 0
end
if keys._MOUSE_R_DOWN then