graphics/GraphicCommons.py
changeset 1258 441f31474b50
parent 1226 93e7a8abce5e
child 1377 cc8f9177d41c
--- a/graphics/GraphicCommons.py	Fri Jun 14 10:49:14 2013 +0200
+++ b/graphics/GraphicCommons.py	Fri Jun 14 10:52:08 2013 +0200
@@ -504,7 +504,7 @@
         # If the cursor is dragging and the element have been clicked
         if event.Dragging() and self.oldPos:
             # Calculate the movement of cursor
-            pos = event.GetLogicalPosition(dc)
+            pos = GetScaledEventPosition(event, dc, scaling)
             movex = pos.x - self.oldPos.x
             movey = pos.y - self.oldPos.y
             # If movement is greater than MIN_MOVE then a dragging is initiated