8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f866168 + 1f93445 commit 0943a6cCopy full SHA for 0943a6c
lib/matplotlib/backends/backend_qt5.py
@@ -76,10 +76,10 @@
76
if sys.platform == 'darwin':
77
# in OSX, the control and super (aka cmd/apple) keys are switched, so
78
# switch them back.
79
- SPECIAL_KEYS.update({QtCore.Qt.Key_Control: 'super', # cmd/apple key
+ SPECIAL_KEYS.update({QtCore.Qt.Key_Control: 'cmd', # cmd/apple key
80
QtCore.Qt.Key_Meta: 'control',
81
})
82
- MODIFIER_KEYS[0] = ('super', QtCore.Qt.ControlModifier,
+ MODIFIER_KEYS[0] = ('cmd', QtCore.Qt.ControlModifier,
83
QtCore.Qt.Key_Control)
84
MODIFIER_KEYS[2] = ('ctrl', QtCore.Qt.MetaModifier,
85
QtCore.Qt.Key_Meta)
0 commit comments