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
MHendricks committed Aug 21, 2024
1 parent a7dddcb commit 8c2fe38
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
@@ -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()

0 comments on commit 8c2fe38

Please sign in to comment.