Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion atbswp/control.py
Original file line number Diff line number Diff line change
Expand Up @@ -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."""
Expand Down