Explorar o código

Correct comments about canvas.menus

Kentaro Wada %!s(int64=6) %!d(string=hai) anos
pai
achega
3b55c8a222
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      labelme/widgets/canvas.py

+ 2 - 1
labelme/widgets/canvas.py

@@ -67,7 +67,8 @@ class Canvas(QtWidgets.QWidget):
         self._painter = QtGui.QPainter()
         self._cursor = CURSOR_DEFAULT
         # Menus:
-        # 0: right-click, 1: ctrl+right-click
+        # 0: right-click without selection and dragging of shapes
+        # 1: right-click with selection and dragging of shapes
         self.menus = (QtWidgets.QMenu(), QtWidgets.QMenu())
         # Set widget options.
         self.setMouseTracking(True)