mirror of
https://github.com/zen-browser/desktop.git
synced 2026-05-03 12:35:10 +00:00
Merge branch 'dev' of https://github.com/zen-browser/desktop into dev
This commit is contained in:
@@ -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);
|
||||
@@ -710,6 +715,10 @@
|
||||
const currentTab = this.#currentTab;
|
||||
const currentParentTab = this.#currentParentTab;
|
||||
|
||||
const isZenFolder = currentParentTab?.group?.isZenFolder;
|
||||
if (Services.prefs.getBoolPref('zen.folders.owned-tabs-in-folder') && isZenFolder) {
|
||||
gBrowser.pinTab(currentTab);
|
||||
}
|
||||
await this.fullyOpenGlance({ forSplit: true });
|
||||
gZenViewSplitter.splitTabs([currentTab, currentParentTab], 'vsep', 1);
|
||||
const browserContainer = currentTab.linkedBrowser?.closest('.browserSidebarContainer');
|
||||
|
||||
Reference in New Issue
Block a user