mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-25 17:52:02 +02:00
Fix regression that caused scrolling to return to origin when releasing keys
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user