We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e6fd024 commit 22eb226Copy full SHA for 22eb226
labelme/widgets/canvas.py
@@ -988,7 +988,11 @@ def keyReleaseEvent(self, ev):
988
if int(modifiers) == 0:
989
self.snapping = True
990
elif self.editing():
991
- if self.movingShape and self.selectedShapes:
+ if (
992
+ self.movingShape
993
+ and self.selectedShapes
994
+ and self.selectedShapes[0] in self.shapes
995
+ ):
996
index = self.shapes.index(self.selectedShapes[0])
997
if self.shapesBackups[-1][index].points != self.shapes[index].points:
998
self.storeShapes()
0 commit comments