Skip to content

Commit

Permalink
Correct comments about canvas.menus
Browse files Browse the repository at this point in the history
  • Loading branch information
wkentaro committed May 17, 2019
1 parent ea23c7c commit 3b55c8a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion labelme/widgets/canvas.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@ def __init__(self, *args, **kwargs):
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)
Expand Down

0 comments on commit 3b55c8a

Please sign in to comment.