mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Make PaneContainer::getActivePaneItem retrieve it from the model
This commit is contained in:
@@ -99,7 +99,7 @@ class PaneContainer extends View
|
||||
@find('.pane.active').view() ? @find('.pane:first').view()
|
||||
|
||||
getActivePaneItem: ->
|
||||
@getActivePane()?.activeItem
|
||||
@model.activePaneItem
|
||||
|
||||
getActiveView: ->
|
||||
@getActivePane()?.activeView
|
||||
|
||||
Reference in New Issue
Block a user