Refactor welcome page transitions and reorganize tabs after welcome screen

This commit is contained in:
mr. M
2025-02-21 11:56:31 +01:00
parent 2593d2137b
commit 6b306daf21
3 changed files with 21 additions and 1 deletions

View File

@@ -2229,4 +2229,12 @@ var ZenWorkspaces = new (class extends ZenMultiWindowFeature {
(tab) => tab.hasAttribute('zen-essential') || tab.getAttribute('zen-workspace-id') === currentWorkspace
);
}
reorganizeTabsAfterWelcome() {
const children = gBrowser.tabContainer.arrowScrollbox.children;
const remainingTabs = Array.from(children).filter((child) => child.tagName === 'tab');
for (const tab of remainingTabs) {
this.moveTabToWorkspace(tab, this.activeWorkspace);
}
}
})();