Skip to content

Commit 1914fba

Browse files
committed
change: increase row width of SpeedrunOptionListWidget
this is to accommodate a couple longer option names in seedqueue, if it gets any worse I will consider implementing a way for mods to change the width of their own screen
1 parent 3fa3d36 commit 1914fba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/org/mcsr/speedrunapi/config/screen/widgets/list/SpeedrunOptionListWidget.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,12 +74,12 @@ public void adjustTop(int top) {
7474

7575
@Override
7676
public int getRowWidth() {
77-
return 300;
77+
return Math.min(this.width, 320);
7878
}
7979

8080
@Override
8181
protected int getScrollbarPositionX() {
82-
return super.getScrollbarPositionX() + 32;
82+
return super.getScrollbarPositionX() + 42;
8383
}
8484

8585
@Override

0 commit comments

Comments
 (0)