mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Add Panel.getElement and remove Panel view provider
This commit is contained in:
@@ -1503,7 +1503,7 @@ module.exports = class Workspace extends Model {
|
||||
|
||||
addPanel (location, options) {
|
||||
if (options == null) { options = {} }
|
||||
return this.panelContainers[location].addPanel(new Panel(options))
|
||||
return this.panelContainers[location].addPanel(new Panel(options, this.viewRegistry))
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user