summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlaine2020-06-18 14:00:01 +0530
committerBlaine2020-06-18 14:00:01 +0530
commit79b0690d4ae7d9f8853aa90ba0cdbe58af7c1c4d (patch)
treebe7eb793069c0d18a38e5da427235821541905df
parent4e52d02b6e7ccc36176eb90f35bd1013ecc74a10 (diff)
downloadChemical-PFD-79b0690d4ae7d9f8853aa90ba0cdbe58af7c1c4d.tar.gz
Chemical-PFD-79b0690d4ae7d9f8853aa90ba0cdbe58af7c1c4d.tar.bz2
Chemical-PFD-79b0690d4ae7d9f8853aa90ba0cdbe58af7c1c4d.zip
fix line grip item transform
-rw-r--r--src/main/python/shapes/shapes.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/python/shapes/shapes.py b/src/main/python/shapes/shapes.py
index 71e9be7..7205ba7 100644
--- a/src/main/python/shapes/shapes.py
+++ b/src/main/python/shapes/shapes.py
@@ -463,6 +463,8 @@ class NodeItem(QGraphicsSvgItem):
transform.rotate(90*rotation)
self.setTransform(transform)
for i in self.lineGripItems:
+ i.setTransform(transform)
+ i.updatePosition()
for j in i.lines:
j.createPath()