Scrolling content is narrowed by the scrollbar width while the scrollbar is shown, so it no longer sits under the bar
game-maker / gate (push) Successful in 1m38s
game-maker / suite (push) Successful in 5m55s

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
adminandClaude Opus 5 committed 2026-09-18 07:29:58 +02:00
1 parent 91cdaf95cc
commit a65132bb5a
3 files changed
+35 -5

No files matched your search

+1 -1
View File
@@ -109,7 +109,7 @@ export class Menu extends Popup {
const size = this.list.measure();
const room = this.roomFor(this.scroll);
const scrolls = size.h > room;
this.scroll.minWidth = size.w + (scrolls ? Theme.scrollbarWidth + 4 : 0);
this.scroll.minWidth = size.w + (scrolls ? Theme.scrollbarWidth : 0);
this.scroll.minHeight = Math.min(size.h, room);
this.scroll.scrollTo(0);
this.refreshLayout();