Migliora la logica di scrolling degli assi nella classe KeyBindings
This commit is contained in:
+1
-1
@@ -62,4 +62,4 @@ class KeyBindings:
|
||||
self.scrolling += 1
|
||||
|
||||
def axis_scroll(self, x, y):
|
||||
self.scroll_cursor(bool(x)*1, bool(y)*1)
|
||||
self.scroll_cursor(1 if x > 0 else -1, 1 if y > 0 else -1)
|
||||
Reference in New Issue
Block a user