From 5fcf6b24ea956dd39d0174d37a150953385c570f Mon Sep 17 00:00:00 2001 From: PathGao Date: Wed, 23 Sep 2026 06:07:56 +0800 Subject: [PATCH] fix(tabs): give a maximized tab only the strip above it #826 stretched each tab's wrapper over the full bar height, so both the strip above the tab and the one below it picked the tab. Only the top strip is the screen edge #823 was about. The bottom strip is mid-screen, gained nothing from the change, and lost its use as a place to grab the maximized window. The wrapper now reaches from the screen edge down to the tab's bottom, and the strip below the tab is drag region again. --- src/lib/components/TabList.svelte | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/src/lib/components/TabList.svelte b/src/lib/components/TabList.svelte index fb651232..0f1630c6 100644 --- a/src/lib/components/TabList.svelte +++ b/src/lib/components/TabList.svelte @@ -220,8 +220,8 @@ class:drag-opacity={draggingId === tab.id} onmousedown={(e) => handleMouseDown(e, tab, e.currentTarget as HTMLElement)} onclick={(e) => { - // Only reachable when maximized, where the wrapper is taller - // than the tab (#823). Clicks inside the tab are the tab's own. + // Only reachable when maximized, where the wrapper reaches up to + // the screen edge (#823). Clicks inside the tab are the tab's own. if (e.target === e.currentTarget) selectTab(tab); }}>