Explorar o código

Initialize Canvas.movingShape=False

Kentaro Wada %!s(int64=7) %!d(string=hai) anos
pai
achega
660c2e2847
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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: