mirror of
https://github.com/atom/atom.git
synced 2026-02-06 04:34:55 -05:00
Add Pane::onDidActivate
This commit is contained in:
@@ -36,6 +36,8 @@ class PaneContainer extends Model
|
||||
root: @root?.serialize()
|
||||
activePaneId: @activePane.id
|
||||
|
||||
getRoot: -> @root
|
||||
|
||||
replaceChild: (oldChild, newChild) ->
|
||||
throw new Error("Replacing non-existent child") if oldChild isnt @root
|
||||
@root = newChild
|
||||
|
||||
Reference in New Issue
Block a user