Explorar el Código

Suppress highlighting while drawing

Kentaro Wada hace 6 años
padre
commit
83a151225f
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      labelme/canvas.py

+ 1 - 0
labelme/canvas.py

@@ -166,6 +166,7 @@ class Canvas(QtWidgets.QWidget):
             self.line.line_color = color
             self.repaint()
             self.current.highlightClear()
+            return
 
         # Polygon copy moving.
         if QtCore.Qt.RightButton & ev.buttons():