mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-09 07:07:19 +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()
|
||||
if not passthrough:
|
||||
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()
|
||||
data = interpret_key_event(key, scancode, mods, window, action)
|
||||
if data:
|
||||
|
||||
Reference in New Issue
Block a user