diff options
author | sumit | 2020-06-10 21:39:39 +0530 |
---|---|---|
committer | sumit | 2020-06-10 21:39:39 +0530 |
commit | 3df4b5f186ff479fd4ad1b5b9f697370bbaea9b4 (patch) | |
tree | 9e17a77a79c085b93b3d894665185db6cb24cf87 /src/main/python/shapes | |
parent | 88f97bd68990f72045a8e0cf532aab83848065dc (diff) | |
download | Chemical-PFD-3df4b5f186ff479fd4ad1b5b9f697370bbaea9b4.tar.gz Chemical-PFD-3df4b5f186ff479fd4ad1b5b9f697370bbaea9b4.tar.bz2 Chemical-PFD-3df4b5f186ff479fd4ad1b5b9f697370bbaea9b4.zip |
fix in arrow
Diffstat (limited to 'src/main/python/shapes')
-rw-r--r-- | src/main/python/shapes/line.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/main/python/shapes/line.py b/src/main/python/shapes/line.py index 2223c1d..f890ee5 100644 --- a/src/main/python/shapes/line.py +++ b/src/main/python/shapes/line.py @@ -425,7 +425,7 @@ class Line(QGraphicsPathItem): arrowHead.append(line.p2()) arrowHead.append(arrow_p1) arrowHead.append(arrow_p2) - path.addPolygon(arrowHead) + # path.addPolygon(arrowHead) painter.save() painter.setBrush(Qt.black) painter.drawPolygon(arrowHead) @@ -985,9 +985,5 @@ class Line(QGraphicsPathItem): "label": [i for i in self.label], "id": hex(id(self)) } -<<<<<<< HEAD -======= - ->>>>>>> bf0d0acaf8b488ae5a55536343401fc2a0b5f9de def __setstate__(self, dict): self.points = [QPointF(x, y) for x, y in dict["points"]] |