graphics/GraphicCommons.py
changeset 1764 d5df428640ff
parent 1759 56e7f4a11046
child 1767 c74815729afd
--- a/graphics/GraphicCommons.py	Thu Aug 17 14:27:06 2017 +0300
+++ b/graphics/GraphicCommons.py	Thu Aug 17 15:43:25 2017 +0300
@@ -1089,9 +1089,9 @@
         if self.ValueSize is not None:
             width, height = self.ValueSize
             rect = rect.Union(wx.Rect(
-                    parent_pos[0] + self.Pos.x + CONNECTOR_SIZE * self.Direction[0] + \
+                    parent_pos[0] + self.Pos.x + CONNECTOR_SIZE * self.Direction[0] +
                                     width * (self.Direction[0] - 1) / 2,
-                    parent_pos[1] + self.Pos.y + CONNECTOR_SIZE * self.Direction[1] + \
+                    parent_pos[1] + self.Pos.y + CONNECTOR_SIZE * self.Direction[1] +
                                     height * (self.Direction[1] - 1),
                     width, height))
         return rect
@@ -1548,9 +1548,9 @@
             if self.ValueSize is not None:
                 width, height = self.ValueSize
                 dc.DrawText(self.ComputedValue,
-                    parent_pos[0] + self.Pos.x + CONNECTOR_SIZE * self.Direction[0] + \
+                    parent_pos[0] + self.Pos.x + CONNECTOR_SIZE * self.Direction[0] +
                                     width * (self.Direction[0] - 1) / 2,
-                    parent_pos[1] + self.Pos.y + CONNECTOR_SIZE * self.Direction[1] + \
+                    parent_pos[1] + self.Pos.y + CONNECTOR_SIZE * self.Direction[1] +
                                     height * (self.Direction[1] - 1))
             dc.SetFont(self.ParentBlock.Parent.GetFont())
             dc.SetTextForeground(wx.BLACK)