Aggiorna la gestione dei tasti rilasciati nella classe KeyBindings per includere tasti aggiuntivi
This commit is contained in:
+1
-1
@@ -37,7 +37,7 @@ class KeyBindings:
|
|||||||
# self.pointer = adjusted_coords
|
# self.pointer = adjusted_coords
|
||||||
# self.scroll_cursor()
|
# self.scroll_cursor()
|
||||||
def key_released(self, key):
|
def key_released(self, key):
|
||||||
if key in ["Up", "Down", "Left", "Right"]:
|
if key in ["Up", "Down", "Left", "Right", 8, 9, 10, 11]:
|
||||||
self.stop_scrolling()
|
self.stop_scrolling()
|
||||||
|
|
||||||
def start_scrolling(self, direction):
|
def start_scrolling(self, direction):
|
||||||
|
|||||||
Reference in New Issue
Block a user