Fix regression that caused scrolling to return to origin when releasing keys
This commit is contained in:
parent
edab1aebaa
commit
2b4d0a4ac9
@ -281,7 +281,7 @@ class Boss(Thread):
|
|||||||
passthrough = f()
|
passthrough = f()
|
||||||
if not passthrough:
|
if not passthrough:
|
||||||
return
|
return
|
||||||
if window.char_grid.scrolled_by and key not in MODIFIER_KEYS:
|
if window.char_grid.scrolled_by and key not in MODIFIER_KEYS and action == GLFW_PRESS:
|
||||||
window.scroll_end()
|
window.scroll_end()
|
||||||
data = interpret_key_event(key, scancode, mods, window, action)
|
data = interpret_key_event(key, scancode, mods, window, action)
|
||||||
if data:
|
if data:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user