summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/python/shapes/line.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main/python/shapes/line.py b/src/main/python/shapes/line.py
index 466e22b..28e63db 100644
--- a/src/main/python/shapes/line.py
+++ b/src/main/python/shapes/line.py
@@ -329,6 +329,11 @@ class Line(QGraphicsPathItem):
self.midLines = []
self.label = []
+ def boundingRect(self):
+ rect = self.shape().boundingRect()
+ rect.adjust(-10,-10,10,10)
+ return rect
+
def advance(self, phase):
if not phase:
return