RotateFree handle now rotates freely (Code by alguryanow) (#952)

This commit is contained in:
2xB 2019-06-24 02:01:32 +02:00 committed by Ogi Moore
parent 9653254094
commit e510971d71

View File

@ -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]: