Parcourir la source

Initialize Canvas.movingShape=False

Kentaro Wada il y a 7 ans
Parent
commit
660c2e2847
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      labelme/canvas.py

+ 1 - 0
labelme/canvas.py

@@ -52,6 +52,7 @@ class Canvas(QtWidgets.QWidget):
         self.hideBackround = False
         self.hShape = None
         self.hVertex = None
+        self.movingShape = False
         self._painter = QtGui.QPainter()
         self._cursor = CURSOR_DEFAULT
         # Menus: