Explorar o código

Suppress highlighting while drawing

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