Skip to content

Commit

Permalink
Fix error when resizing font using scroll wheel in python 3.10+
Browse files Browse the repository at this point in the history
  • Loading branch information
MHendricks committed Aug 21, 2024
1 parent a7dddcb commit 9372dd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion preditor/gui/loggerwindow.py
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,7 @@ def wheelEvent(self, event):
delta = event.angleDelta().y()

# convert delta to +1 or -1, depending
delta = delta / abs(delta)
delta = delta // abs(delta)
minSize = 5
maxSize = 50
font = self.console().font()
Expand Down

0 comments on commit 9372dd7

Please sign in to comment.