Fix F11 keymaps

Function key keymaps don't work when they feature upperface 'F' characters.
They still tend to work because they typically have an application menu item
which is associated with it and falled back upon. The main difference is that
the originalEvent (KeyboardEvent) is not retained when doing this fallback as
Atom thinks that the menu item was pressed instead of the keymap.

Fixes #10287
This commit is contained in:
Daniel Imms
2016-01-09 04:20:30 -08:00
parent db74f4a8f0
commit 235e489f6e
2 changed files with 2 additions and 2 deletions

View File

@@ -13,7 +13,7 @@
'ctrl-alt-o': 'application:add-project-folder'
'ctrl-shift-pageup': 'pane:move-item-left'
'ctrl-shift-pagedown': 'pane:move-item-right'
'F11': 'window:toggle-full-screen'
'f11': 'window:toggle-full-screen'
# Sublime Parity
'ctrl-,': 'application:show-settings'