From 05845efd40e4ca5c2bbdf0557530a57df1a69eb2 Mon Sep 17 00:00:00 2001 From: Andrew Kvalheim Date: Thu, 30 May 2024 22:17:18 -0700 Subject: [PATCH] Correct vertical position of tabbed windows Currently when the gap is zero, windows below tabs are repositioned slightly downward. This causes the windows to exceed the bottom of the screen and results in a small gap between the window and tabs. This repositioning is unnecessary, so remove it. Resolves #391 --- lib/extension/tree.js | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/extension/tree.js b/lib/extension/tree.js index ea0d767..a5eef0b 100644 --- a/lib/extension/tree.js +++ b/lib/extension/tree.js @@ -1511,7 +1511,6 @@ export class Tree extends Node { if (gap === 0) { adjustY = renderRect.y; - nodeY = renderRect.y + params.stackedHeight + adjust / 4; } let decoration = node.decoration;