Implemented -zen-window-transform-origin attribute and applied it to the panels on the right side

This commit is contained in:
mr. m
2025-04-04 13:00:17 +02:00
parent 5b318a8aaf
commit 5d1963e0ec
9 changed files with 162 additions and 1 deletions

View File

@@ -551,6 +551,8 @@
async fullyOpenGlance({ forSplit = false } = {}) {
this.animatingFullOpen = true;
this.#currentTab.removeAttribute('zen-glance-tab');
gBrowser._insertTabAtIndex(this.#currentTab, {
index: this.getTabPosition(this.#currentTab),
});
@@ -558,7 +560,6 @@
this._clearContainerStyles(this.browserWrapper);
this.browserWrapper.removeAttribute('has-finished-animation');
this.browserWrapper.setAttribute('animate-full', true);
this.#currentTab.removeAttribute('zen-glance-tab');
this.#currentTab.removeAttribute('glance-id');
this.#currentParentTab.removeAttribute('glance-id');
gBrowser.selectedTab = this.#currentTab;