mirror of
https://github.com/zen-browser/desktop.git
synced 2026-04-21 23:05:47 +00:00
feat: Always show control center except on empty states, p=#11283, c=common, tabs, workspaces
This commit is contained in:
@@ -2655,6 +2655,7 @@ var gZenWorkspaces = new (class extends nsZenMultiWindowFeature {
|
||||
#changeToEmptyTab() {
|
||||
const isEmpty = gBrowser.selectedTab.hasAttribute('zen-empty-tab');
|
||||
gZenCompactModeManager.sidebar.toggleAttribute('zen-has-empty-tab', isEmpty);
|
||||
document.documentElement.setAttribute('zen-has-empty-tab', isEmpty);
|
||||
}
|
||||
|
||||
async onLocationChange(event) {
|
||||
|
||||
Reference in New Issue
Block a user