mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Prefer getElement() to view registry for Docks, PaneContainer & Pane
This commit is contained in:
@@ -56,7 +56,8 @@ module.exports = class Workspace extends Model {
|
||||
config: this.config,
|
||||
applicationDelegate: this.applicationDelegate,
|
||||
notificationManager: this.notificationManager,
|
||||
deserializerManager: this.deserializerManager
|
||||
deserializerManager: this.deserializerManager,
|
||||
viewRegistry: this.viewRegistry
|
||||
})
|
||||
this.paneContainer.onDidDestroyPaneItem(this.didDestroyPaneItem)
|
||||
|
||||
@@ -108,7 +109,8 @@ module.exports = class Workspace extends Model {
|
||||
config: this.config,
|
||||
applicationDelegate: this.applicationDelegate,
|
||||
notificationManager: this.notificationManager,
|
||||
deserializerManager: this.deserializerManager
|
||||
deserializerManager: this.deserializerManager,
|
||||
viewRegistry: this.viewRegistry
|
||||
})
|
||||
this.paneContainer.onDidDestroyPaneItem(this.didDestroyPaneItem)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user