mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Use KeymapManager::handleKeyboardEvent
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user