There was an error while loading. Please reload this page.
1 parent f524106 commit c134aa6Copy full SHA for c134aa6
1 file changed
lib/matplotlib/backends/backend_qt5.py
@@ -73,17 +73,6 @@
73
('shift', QtCore.Qt.ShiftModifier, QtCore.Qt.Key_Shift),
74
]
75
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
80
- QtCore.Qt.Key_Meta: 'control',
81
- })
82
- MODIFIER_KEYS[0] = ('super', QtCore.Qt.ControlModifier,
83
- QtCore.Qt.Key_Control)
84
- MODIFIER_KEYS[2] = ('ctrl', QtCore.Qt.MetaModifier,
85
- QtCore.Qt.Key_Meta)
86
-
87
88
cursord = {
89
cursors.MOVE: QtCore.Qt.SizeAllCursor,
0 commit comments