fix tree causing scrollbar to appear when it shouldn't

This commit is contained in:
Til Schmitter 2026-04-03 21:59:57 +02:00
parent 741ad0495c
commit db864b921d

View file

@ -7078,7 +7078,8 @@ var treectl = (function () {
treeh = winh - atop;
tree.style.top = top + 'px';
tree.style.height = treeh < 10 ? '' : Math.floor(treeh) + 'px';
// setting the height causes scrollbars to appear often because it's not exact most of the time
tree.style.height = '';// = treeh < 10 ? '' : Math.floor(treeh) + 'px';
}
}
timer.add(onscroll2, true);