We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb99a11 commit 8b8b347Copy full SHA for 8b8b347
1 file changed
kasatk/__main__.py
@@ -82,7 +82,7 @@ def _on_mouse_scroll(self, event):
82
self.canvas.yview_scroll(-1, "units")
83
84
if sys.platform != "linux" and event.delta != 0:
85
- self.canvas.yview_scroll(-1 * (event.delta / 120), "units")
+ self.canvas.yview_scroll(int(-1 * (event.delta / 120)), "units")
86
87
88
class EditableText(tkinter.Frame):
0 commit comments