Delegate pane focus methods from workspace to pane container

Fixes #3754
This commit is contained in:
Nathan Sobo
2014-10-08 10:43:40 -07:00
parent 8db2c4d70a
commit ec6614c919

View File

@@ -138,6 +138,14 @@ class WorkspaceElement extends HTMLElement
handleWindowFocus: (event) ->
@handleFocus(event) if document.activeElement is document.body
focusPaneViewAbove: -> @paneContainer.focusPaneViewAbove()
focusPaneViewBelow: -> @paneContainer.focusPaneViewBelow()
focusPaneViewOnLeft: -> @paneContainer.focusPaneViewOnLeft()
focusPaneViewOnRight: -> @paneContainer.focusPaneViewOnRight()
module.exports = WorkspaceElement = document.registerElement 'atom-workspace',
prototype: WorkspaceElement.prototype
extends: 'div'