summaryrefslogtreecommitdiff
path: root/src/main/python/shapes/line.py
diff options
context:
space:
mode:
authorBlaine2020-06-02 23:27:48 +0530
committerBlaine2020-06-02 23:27:48 +0530
commit53f4698ef5e5c7f7c388c73b9a657e1a4cf44497 (patch)
treeed2b9f1a6729c42e72b7c97ef4fc5f6df5b1944c /src/main/python/shapes/line.py
parentb24e45566f0e627e3a87ec6e30109f4a061fa838 (diff)
downloadChemical-PFD-53f4698ef5e5c7f7c388c73b9a657e1a4cf44497.tar.gz
Chemical-PFD-53f4698ef5e5c7f7c388c73b9a657e1a4cf44497.tar.bz2
Chemical-PFD-53f4698ef5e5c7f7c388c73b9a657e1a4cf44497.zip
checkkk
Diffstat (limited to 'src/main/python/shapes/line.py')
-rw-r--r--src/main/python/shapes/line.py2
1 files changed, 1 insertions, 1 deletions
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)