Browse Source

Initialize Canvas.movingShape=False

Kentaro Wada 7 years ago
parent
commit
660c2e2847
1 changed files with 1 additions and 0 deletions
  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: