Don’t implement ::isActive in terms of the theorist model behavior

This commit is contained in:
Nathan Sobo
2014-08-28 15:21:10 -06:00
parent 95e9686b37
commit 34cb5d6012

View File

@@ -117,7 +117,8 @@ class Pane extends Model
onWillDestroyItem: (fn) ->
@emitter.on 'will-destroy-item', fn
isActive: -> @active
isActive: ->
@container?.getActivePane() is this
# Called by the view layer to indicate that the pane has gained focus.
focus: ->