mirror of
https://github.com/zen-browser/desktop.git
synced 2025-10-15 22:36:23 +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();
|
ZenWorkspaces.init();
|
||||||
gZenVerticalTabsManager.init();
|
gZenVerticalTabsManager.init();
|
||||||
gZenUIManager.init();
|
gZenUIManager.init();
|
||||||
gZenCompactModeManager.init();
|
|
||||||
|
|
||||||
this._checkForWelcomePage();
|
this._checkForWelcomePage();
|
||||||
|
|
||||||
@@ -42,6 +41,7 @@
|
|||||||
console.error('ZenThemeModifier: Error initializing browser layout', e);
|
console.error('ZenThemeModifier: Error initializing browser layout', e);
|
||||||
}
|
}
|
||||||
ZenWorkspaces.promiseInitialized.then(() => {
|
ZenWorkspaces.promiseInitialized.then(() => {
|
||||||
|
gZenCompactModeManager.init();
|
||||||
this.closeWatermark();
|
this.closeWatermark();
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
@@ -166,6 +166,7 @@ var gZenCompactModeManager = {
|
|||||||
await this.animateCompactMode();
|
await this.animateCompactMode();
|
||||||
this._evenListeners.forEach((callback) => callback());
|
this._evenListeners.forEach((callback) => callback());
|
||||||
}
|
}
|
||||||
|
gZenUIManager.updateTabsToolbar();
|
||||||
},
|
},
|
||||||
|
|
||||||
// NOTE: Dont actually use event, it's just so we make sure
|
// NOTE: Dont actually use event, it's just so we make sure
|
||||||
|
Reference in New Issue
Block a user