Skip to content

Commit 2f9b926

Browse files
committed
[processing] behavior of scroll zoom in the modeler
Zooming shouldn't recenter the scene on the cursor, only scale the scene around it.
1 parent ef0d413 commit 2f9b926

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

python/plugins/processing/modeler/ModelerDialog.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@ def _wheelEvent(event):
106106
if event.delta() > 0:
107107
factor = 1/factor
108108
self.view.scale(factor, factor)
109-
self.view.centerOn(event.pos().x(), event.pos().y())
110109
self.repaintModel()
111110

112111
def _enterEvent(e):

0 commit comments

Comments
 (0)