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 879756c commit 845c1f7Copy full SHA for 845c1f7
node_editor/gui/view.py
@@ -55,8 +55,8 @@ def wheelEvent(self, event):
55
if self._pan:
56
return
57
58
- num_degrees = event.delta() / 8.0
59
- num_steps = num_degrees / 5.0
+ num_degrees = event.angleDelta() / 8.0
+ num_steps = num_degrees.y() / 5.0
60
self._numScheduledScalings += num_steps
61
62
# If the user moved the wheel another direction, we reset previously scheduled scalings
0 commit comments