author | Laurent Bessard |
Sat, 07 Jul 2012 20:50:24 +0200 | |
changeset 721 | f3dffc1a5ffe |
parent 720 | 2a9d4eafaddd |
child 722 | 8c098eb05498 |
--- 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