Browse Source

Correct comments about canvas.menus

Kentaro Wada 6 years ago
parent
commit
3b55c8a222
1 changed files with 2 additions and 1 deletions
  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)