Unverified Commit d079718c authored by yann300's avatar yann300 Committed by GitHub

Initiate the layout service after modules are loaded

parent 9340a352
......@@ -192,7 +192,7 @@ class App {
module.exports = App
function run () {
async function run () {
var self = this
// check the origin and warn message
......@@ -338,12 +338,12 @@ Please make a backup of your contracts and start using http://remix.ethereum.org
...appManager.registeredPlugins()
])
appManager.activate(['contentImport', 'theme', 'sourceHighlighters', 'fileManager', 'compilerMetadata', 'compilerArtefacts', 'udapp', 'network', 'offsetToLineColumnConverter'])
appManager.activate(['mainPanel'])
appManager.activate(['menuicons', 'home', 'sidePanel', 'pluginManager', 'fileExplorers', 'settings'])
await appManager.activate(['contentImport', 'theme', 'sourceHighlighters', 'fileManager', 'compilerMetadata', 'compilerArtefacts', 'udapp', 'network', 'offsetToLineColumnConverter'])
await appManager.activate(['mainPanel'])
await appManager.activate(['menuicons', 'home', 'sidePanel', 'pluginManager', 'fileExplorers', 'settings'])
// Set workspace after initial activation
if (Array.isArray(workspace)) appManager.activate(workspace)
if (Array.isArray(workspace)) await appManager.activate(workspace)
// Load and start the service who manager layout and frame
const framingService = new FramingService(sidePanel, menuicons, mainview, this._components.resizeFeature)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment