fix: Make sure drop indicator is under the last item when newtab button is below, b=no-bug, c=common

This commit is contained in:
mr. m
2026-01-29 11:05:43 +01:00
parent e34ed3e882
commit b5efe62739
2 changed files with 6 additions and 6 deletions

View File

@@ -891,8 +891,8 @@ window.gZenVerticalTabsManager = {
marginBottom: isLastItem() ? ["0px", "0px"] : [transform, "0px"],
},
{
duration: 0.11,
easing: "ease-out",
duration: 0.075,
easing: "easeOut",
}
)
.then(() => {})
@@ -913,8 +913,8 @@ window.gZenVerticalTabsManager = {
filter: ["blur(1px)", "blur(0px)"],
},
{
duration: 0.11,
easing: "ease-out",
duration: 0.075,
easing: "easeOut",
}
)
.then(() => {})
@@ -949,7 +949,7 @@ window.gZenVerticalTabsManager = {
},
{
duration: 0.075,
easing: "ease-out",
easing: "easeOut",
}
);
},

View File

@@ -931,7 +931,7 @@
if (event.target.classList.contains("zen-workspace-empty-space") || hoveringPeriphery) {
let lastTab = gBrowser.tabs.at(-1);
dropElement =
(hoveringPeriphery
(hoveringPeriphery && Services.prefs.getBoolPref("zen.view.show-newtab-button-top")
? this._tabbrowserTabs.ariaFocusableItems.at(
gBrowser._numVisiblePinTabsWithoutCollapsed
)