graphics/LD_Objects.py
changeset 180 3b0d3ea35ee5
parent 175 cc78572dfbbc
child 213 4931959ea256
--- a/graphics/LD_Objects.py	Thu Feb 28 18:07:52 2008 +0100
+++ b/graphics/LD_Objects.py	Thu Feb 28 18:09:09 2008 +0100
@@ -404,6 +404,9 @@
             if self.Output.IsConnected():
                 rect = rect.Union(self.Output.GetConnectedRedrawRect(movex, movey))
         return rect
+
+    def ProcessDragging(self, movex, movey, centered, scaling):
+        return Graphic_Element.ProcessDragging(self, movex, movey, centered, scaling, height_fac = 2)
     
     # Forbids to change the contact size
     def SetSize(self, width, height):
@@ -632,7 +635,10 @@
                 rect = rect.Union(self.Output.GetConnectedRedrawRect(movex, movey))
         return rect
     
-    # Forbids to change the contact size
+    def ProcessDragging(self, movex, movey, centered, scaling):
+        return Graphic_Element.ProcessDragging(self, movex, movey, centered, scaling, height_fac = 2)    
+    
+    # Forbids to change the Coil size
     def SetSize(self, width, height):
         if self.Parent.GetDrawingMode() == FREEDRAWING_MODE:
             Graphic_Element.SetSize(self, width, height)