A column that has room again is uncovered: its panes lose the stale tab marks

Only crowded columns are marked; when a column stopped being crowded (a taller window) its panes kept
data-covered, data-over and data-buried from before, which e2e/forks.spec.ts (short window
stacking) saw now and then as a pane still folded to its tab.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014yB6q4BHMwptTX3YFtkRab
This commit is contained in:
thalladaandClaude Opus 5.5 committed 2026-11-16 16:53:02 -05:00
1 parent 79e157acac
commit 28185a9fad
1 file changed
+2
+2
View File
@@ -353,6 +353,8 @@ export function Panes() {
tops = offsets(heights, pinned, TAB, h);
}
c.classList.toggle("crowded", crowded);
// Only a crowded column is marked (measure): one that has room again is uncovered here.
if (!crowded) unmark(ps);
ps.forEach((p, i) => {
if (p.style.height !== `${heights[i]}px`) (p.style.height = `${heights[i]}px`), (p.style.flex = "none");
});