Delegate getActivePane to the PaneContainer in RootView

This commit is contained in:
Nathan Sobo
2013-02-21 11:59:00 -07:00
committed by probablycorey
parent 486baa393b
commit 4e12882478

View File

@@ -159,7 +159,7 @@ class RootView extends View
_.uniq(_.flatten(@getEditors().map (editor) -> editor.getOpenBufferPaths()))
getActivePane: ->
@panes.find('.pane.active').view() ? @panes.find('.pane:first').view()
@panes.getActivePane()
getActiveEditor: ->
if (editor = @panes.find('.editor.active')).length