summaryrefslogtreecommitdiff
path: root/src/main/python
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/python')
-rw-r--r--src/main/python/shapes/line.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/python/shapes/line.py b/src/main/python/shapes/line.py
index c5d5b57..1a54284 100644
--- a/src/main/python/shapes/line.py
+++ b/src/main/python/shapes/line.py
@@ -226,9 +226,9 @@ class Line(QGraphicsPathItem):
path.arcTo(QRectF(x-8, y-8, 16, 16), 180, 180)
path.moveTo(point + QPointF(8, 0))
else:
- path.lineTo(point - QPointF(8, 0))
- path.arcTo(QRectF(x-8, y-8, 16, 16), 0, 180)
path.lineTo(point + QPointF(8, 0))
+ path.arcTo(QRectF(x-8, y-8, 16, 16), 0, -180)
+ path.lineTo(point - QPointF(8, 0))
path.lineTo(self.points[i+1])
painter.drawPath(path)