graphics/FBD_Objects.py
changeset 721 f3dffc1a5ffe
parent 717 86a2d1786684
--- a/graphics/FBD_Objects.py	Sat Jul 07 20:48:23 2012 +0200
+++ b/graphics/FBD_Objects.py	Sat Jul 07 20:50:24 2012 +0200
@@ -701,7 +701,7 @@
                     posx = round_scaling(posx, scaling[0])
                 self.Pos.x = posx
             elif self.Type == OUTPUT:
-                posy = max(0, self.Pos.x + (width - min_width) / 2)
+                posx = max(0, self.Pos.x + (width - min_width) / 2)
                 if scaling is not None:
                     posx = round_scaling(posx, scaling[0])
                 self.Pos.x = posx