RotateFree handle now rotates freely (Code by alguryanow) (#952)
This commit is contained in:
parent
9653254094
commit
e510971d71
@ -928,6 +928,7 @@ class ROI(GraphicsObject):
|
||||
|
||||
if h['type'] == 'rf':
|
||||
h['item'].setPos(self.mapFromScene(p1)) ## changes ROI coordinates of handle
|
||||
h['pos'] = self.mapFromParent(p1)
|
||||
|
||||
elif h['type'] == 'sr':
|
||||
if h['center'][0] == h['pos'][0]:
|
||||
|
Loading…
Reference in New Issue
Block a user