Use KeymapManager::handleKeyboardEvent

This commit is contained in:
Corey Johnson
2014-04-18 13:58:38 -07:00
parent 1583271e2f
commit fb42c499b1

View File

@@ -58,7 +58,7 @@ class WindowEventHandler
@subscribeToCommand $(document), 'core:focus-previous', @focusPrevious
@subscribe $(document), 'keydown', (event) ->
atom.keymaps.handleKeyEvent(event)
atom.keymaps.handleKeyboardEvent(event.originalEvent)
@subscribe $(document), 'drop', (e) ->
e.preventDefault()