graphics/GraphicCommons.py
changeset 1777 c46ec818bdd7
parent 1768 691083b5682a
child 1782 5b6ad7a7fd9d
--- a/graphics/GraphicCommons.py	Sat Aug 19 16:45:37 2017 +0300
+++ b/graphics/GraphicCommons.py	Sat Aug 19 17:04:31 2017 +0300
@@ -1088,11 +1088,12 @@
             self.ValueSize = self.ParentBlock.Parent.GetMiniTextExtent(self.ComputedValue)
         if self.ValueSize is not None:
             width, height = self.ValueSize
-            rect = rect.Union(wx.Rect(
+            rect = rect.Union(
+                wx.Rect(
                     parent_pos[0] + self.Pos.x + CONNECTOR_SIZE * self.Direction[0] +
-                                    width * (self.Direction[0] - 1) / 2,
+                    width * (self.Direction[0] - 1) / 2,
                     parent_pos[1] + self.Pos.y + CONNECTOR_SIZE * self.Direction[1] +
-                                    height * (self.Direction[1] - 1),
+                    height * (self.Direction[1] - 1),
                     width, height))
         return rect