mirror of
https://github.com/atom/atom.git
synced 2026-02-06 20:55:33 -05:00
Remove PaneContainer.monitorActivePaneItem
Call didChangeActiveItemOnPane directly from panes and when the active pane changes instead.
This commit is contained in:
@@ -90,10 +90,6 @@ module.exports = class Workspace extends Model {
|
||||
this.subscribeToEvents()
|
||||
}
|
||||
|
||||
initialize () {
|
||||
this.paneContainer.initialize()
|
||||
}
|
||||
|
||||
getElement () {
|
||||
if (!this.element) {
|
||||
this.element = new WorkspaceElement().initialize(this, {
|
||||
@@ -164,7 +160,6 @@ module.exports = class Workspace extends Model {
|
||||
this.destroyedItemURIs = []
|
||||
this.element = null
|
||||
this.consumeServices(this.packageManager)
|
||||
this.initialize()
|
||||
}
|
||||
|
||||
subscribeToEvents () {
|
||||
|
||||
Reference in New Issue
Block a user