Pārlūkot izejas kodu

Suppress highlighting while drawing

Kentaro Wada 6 gadi atpakaļ
vecāks
revīzija
83a151225f
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  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():