mirror of
https://github.com/atom/atom.git
synced 2026-01-23 22:08:08 -05:00
Support toggling dev tools from event palette
This commit is contained in:
@@ -69,7 +69,7 @@ class RootView extends View
|
||||
true
|
||||
|
||||
handleEvents: ->
|
||||
@on 'toggle-dev-tools', => atom.toggleDevTools()
|
||||
@command 'toggle-dev-tools', => atom.toggleDevTools()
|
||||
@on 'focus', (e) => @handleFocus(e)
|
||||
$(window).on 'focus', (e) =>
|
||||
@handleFocus(e) if document.activeElement is document.body
|
||||
|
||||
Reference in New Issue
Block a user