From b5efe62739c043bab838ab346f388c4f9dcf277c Mon Sep 17 00:00:00 2001 From: "mr. m" Date: Thu, 29 Jan 2026 11:05:43 +0100 Subject: [PATCH] fix: Make sure drop indicator is under the last item when newtab button is below, b=no-bug, c=common --- src/zen/common/modules/ZenUIManager.mjs | 10 +++++----- src/zen/drag-and-drop/ZenDragAndDrop.js | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/zen/common/modules/ZenUIManager.mjs b/src/zen/common/modules/ZenUIManager.mjs index 0dc0e7493..984133fc4 100644 --- a/src/zen/common/modules/ZenUIManager.mjs +++ b/src/zen/common/modules/ZenUIManager.mjs @@ -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", } ); }, diff --git a/src/zen/drag-and-drop/ZenDragAndDrop.js b/src/zen/drag-and-drop/ZenDragAndDrop.js index cda496779..8476d6e8f 100644 --- a/src/zen/drag-and-drop/ZenDragAndDrop.js +++ b/src/zen/drag-and-drop/ZenDragAndDrop.js @@ -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 )