From 53f4698ef5e5c7f7c388c73b9a657e1a4cf44497 Mon Sep 17 00:00:00 2001 From: Blaine Date: Tue, 2 Jun 2020 23:27:48 +0530 Subject: checkkk --- src/main/python/shapes/line.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/python') diff --git a/src/main/python/shapes/line.py b/src/main/python/shapes/line.py index 5ad61a7..c5d5b57 100644 --- a/src/main/python/shapes/line.py +++ b/src/main/python/shapes/line.py @@ -228,7 +228,7 @@ class Line(QGraphicsPathItem): 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.lineTo(point + QPointF(8, 0)) path.lineTo(self.points[i+1]) painter.drawPath(path) -- cgit