Skip to content
Permalink
Browse files
[processing] behavior of scroll zoom in the modeler
Zooming shouldn't recenter the scene on the cursor, only scale the scene
around it.
  • Loading branch information
HenningJagd committed May 22, 2015
1 parent ef0d413 commit 2f9b9265d64eccdb2f0173a888ffc6feb083a976
Showing with 0 additions and 1 deletion.
  1. +0 −1 python/plugins/processing/modeler/ModelerDialog.py
@@ -106,7 +106,6 @@ def _wheelEvent(event):
if event.delta() > 0:
factor = 1/factor
self.view.scale(factor, factor)
self.view.centerOn(event.pos().x(), event.pos().y())
self.repaintModel()

def _enterEvent(e):

0 comments on commit 2f9b926

Please sign in to comment.