feat: Optimized SVGs and improved small details, b=no-bug, c=common, media, tabs, workspaces

This commit is contained in:
mr. m
2025-12-29 15:46:39 +01:00
parent 7a8ac8bd9c
commit ec398760c6
225 changed files with 309 additions and 250 deletions

View File

@@ -873,10 +873,6 @@ class nsZenWorkspaces {
this._workspaceCache = spacesFromStore.length
? [...spacesFromStore]
: [await this.createAndSaveWorkspace('Space', undefined, true)];
for (const workspace of this._workspaceCache) {
// We don't want to depend on this by mistake
delete workspace.hasCollapsedPinnedTabs;
}
this.activeWorkspace = aWinData.activeZenSpace || this._workspaceCache[0].uuid;
await this.initializeWorkspaces();
for (const workspace of spacesFromStore) {
@@ -885,6 +881,10 @@ class nsZenWorkspaces {
element.collapsiblePins.collapsed = workspace.hasCollapsedPinnedTabs || false;
}
}
for (const workspace of this._workspaceCache) {
// We don't want to depend on this by mistake
delete workspace.hasCollapsedPinnedTabs;
}
this.#hasInitialized = true;
}