fix: Fixed changing workspaces not replacing the empty tab, b=no-bug, c=workspaces

This commit is contained in:
Mr. M
2025-07-25 11:15:09 +02:00
parent 78b1088b41
commit 921afb04a4
2 changed files with 4 additions and 1 deletions

View File

@@ -1537,6 +1537,9 @@ var gZenWorkspaces = new (class extends ZenMultiWindowFeature {
const container = this.workspaceElement(otherWorkspace.uuid);
container.active = otherWorkspace.uuid === workspace.uuid;
}
// note: We are calling this even though it is also called in `updateTabsContainers`. This is mostly
// due to a race condition where the workspace strip is not updated before the tabs are moved.
this.makeSureEmptyTabIsFirst();
gBrowser.pinnedTabsContainer = this.pinnedTabsContainer || gBrowser.pinnedTabsContainer;
gBrowser.tabContainer.pinnedTabsContainer =
this.pinnedTabsContainer || gBrowser.tabContainer.pinnedTabsContainer;

View File

@@ -19,7 +19,7 @@
"brandShortName": "Zen",
"brandFullName": "Zen Browser",
"release": {
"displayVersion": "1.14.6b",
"displayVersion": "1.14.7b",
"github": {
"repo": "zen-browser/desktop"
},