소스 검색

Correct comments about canvas.menus

Kentaro Wada 6 년 전
부모
커밋
3b55c8a222
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  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)