|
|
|
@ -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): |
|
|
|
|