graphics/GraphicCommons.py
changeset 1758 845ca626db09
parent 1754 63f4af6bf6d9
child 1759 56e7f4a11046
--- a/graphics/GraphicCommons.py	Wed Aug 16 17:27:58 2017 +0300
+++ b/graphics/GraphicCommons.py	Thu Aug 17 09:55:39 2017 +0300
@@ -1083,7 +1083,7 @@
             if self.Edge == "rising" and self.Direction[1] == 1:
                 y -= 5
                 height += 5
-        rect =  wx.Rect(x - abs(movex), y - abs(movey), width + 2 * abs(movex), height + 2 * abs(movey))
+        rect = wx.Rect(x - abs(movex), y - abs(movey), width + 2 * abs(movex), height + 2 * abs(movey))
         if self.ValueSize is None and isinstance(self.ComputedValue, (StringType, UnicodeType)):
             self.ValueSize = self.ParentBlock.Parent.GetMiniTextExtent(self.ComputedValue)
         if self.ValueSize is not None: