fix: Pin current tab when glance full opening from Zen Folder (#10073)

This commit is contained in:
octaviusz
2025-08-28 23:22:48 +03:00
committed by GitHub
parent c095bc7604
commit 3723517d7d

View File

@@ -620,6 +620,11 @@
this.animatingFullOpen = true;
this.#currentTab.setAttribute('zen-dont-split-glance', true);
const isZenFolder = this.#currentParentTab?.group?.isZenFolder;
if (Services.prefs.getBoolPref('zen.folders.owned-tabs-in-folder') && isZenFolder) {
gBrowser.pinTab(this.#currentTab);
}
gBrowser.moveTabAfter(this.#currentTab, this.#currentParentTab);
const browserRect = window.windowUtils.getBoundsWithoutFlushing(this.browserWrapper);