mirror of
https://github.com/zen-browser/desktop.git
synced 2025-10-15 14:26:12 +00:00
Initialize compact mode manager after browser layout and update tabs toolbar on compact mode activation
This commit is contained in:
@@ -33,7 +33,6 @@
|
||||
ZenWorkspaces.init();
|
||||
gZenVerticalTabsManager.init();
|
||||
gZenUIManager.init();
|
||||
gZenCompactModeManager.init();
|
||||
|
||||
this._checkForWelcomePage();
|
||||
|
||||
@@ -42,6 +41,7 @@
|
||||
console.error('ZenThemeModifier: Error initializing browser layout', e);
|
||||
}
|
||||
ZenWorkspaces.promiseInitialized.then(() => {
|
||||
gZenCompactModeManager.init();
|
||||
this.closeWatermark();
|
||||
});
|
||||
},
|
||||
|
@@ -166,6 +166,7 @@ var gZenCompactModeManager = {
|
||||
await this.animateCompactMode();
|
||||
this._evenListeners.forEach((callback) => callback());
|
||||
}
|
||||
gZenUIManager.updateTabsToolbar();
|
||||
},
|
||||
|
||||
// NOTE: Dont actually use event, it's just so we make sure
|
||||
|
Reference in New Issue
Block a user