Skip to content

Commit

Permalink
Correct vertical position of tabbed windows
Browse files Browse the repository at this point in the history
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
  • Loading branch information
AndrewKvalheim authored and jmmaranan committed May 31, 2024
1 parent 5dc0315 commit 05845ef
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/extension/tree.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 05845ef

Please sign in to comment.