8000 Fix alphabetical key shortcuts. A SHIFT modifier key was registered b… · google/flutter-desktop-embedding@a8ca32b · GitHub
[go: up one dir, main page]

Skip to content

Commit a8ca32b

Browse files
authored
Fix alphabetical key shortcuts. A SHIFT modifier key was registered by accident since the keyLabel from a LogicalKeyboardKey in Flutter changed to an upper case value (#866)
Co-authored-by: Guillaume Barrette <guillaume.barrette@gmail.com>
1 parent e48abe7 commit a8ca32b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/menubar/lib/src/menu_channel.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ class MenuChannel {
233233
}
234234

235235
if (key.keyLabel.isNotEmpty) {
236-
channelRepresentation[_kShortcutKeyEquivalent] = key.keyLabel;
236+
channelRepresentation[_kShortcutKeyEquivalent] = key.keyLabel.toLowerCase();
237237
} else {
238238
final specialKey = _shortcutSpecialKeyValues[key];
239239
if (specialKey == null) {

0 commit comments

Comments
 (0)
0