mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-01-26 22:42:41 -08:00
Mod browser layout tweaks
This commit is contained in:
parent
ae92813169
commit
fdafa0933f
1 changed files with 2 additions and 2 deletions
|
|
@ -408,7 +408,7 @@ public class ModsDialog extends BaseDialog{
|
|||
browserTable.clear();
|
||||
browserTable.add("@loading");
|
||||
|
||||
int cols = (int)Math.max(Core.graphics.getWidth() / Scl.scl(482), 1);
|
||||
int cols = (int)Math.max(Core.graphics.getWidth() / Scl.scl(480), 1);
|
||||
|
||||
getModList(rlistings -> {
|
||||
browserTable.clear();
|
||||
|
|
@ -500,7 +500,7 @@ public class ModsDialog extends BaseDialog{
|
|||
sel.keyDown(KeyCode.escape, sel::hide);
|
||||
sel.keyDown(KeyCode.back, sel::hide);
|
||||
sel.show();
|
||||
}).width(460f).pad(4).growX().left().height(s + 8*2f).fillY();
|
||||
}).width(438f).pad(4).growX().left().height(s + 8*2f).fillY();
|
||||
|
||||
if(++i % cols == 0) browserTable.row();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue