diff --git a/atbswp/control.py b/atbswp/control.py index 6643990..8c05c3f 100644 --- a/atbswp/control.py +++ b/atbswp/control.py @@ -259,7 +259,7 @@ def on_scroll(self, x, y, dx, dy): """Triggered by a mouse wheel scroll.""" if not self.recording: return False - self.write_mouse_action(move="scroll", parameters=f"{y}") + self.write_mouse_action(move="scroll", parameters=f"{dy}") def on_press(self, key): """Triggered by a key press."""