Browse Source

Suppress highlighting while drawing

Kentaro Wada 6 năm trước cách đây
mục cha
commit
83a151225f
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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():