mirror of
https://github.com/atom/atom.git
synced 2026-01-23 05:48:10 -05:00
Don’t implement ::isActive in terms of the theorist model behavior
This commit is contained in:
@@ -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: ->
|
||||
|
||||
Reference in New Issue
Block a user