Skip to content

Commit

Permalink
ooops...
Browse files Browse the repository at this point in the history
  • Loading branch information
xzxADIxzx committed May 13, 2023
1 parent ec5ceec commit 2144272
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion mod.hjson
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ A mod that increases the schematic size limit to 512 blocks! Adds admins, render
",
author: "[#0096FF]xzxADIxzx",
minGameVersion: 144,
version: 2.7.64,
version: 2.7.65,
hidden: true,
main: scheme.Main
4 changes: 2 additions & 2 deletions src/java/scheme/ui/dialogs/ContentSelectDialog.java
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public ContentSelectDialog(String title, Seq<T> content, int min, int max, int s

Table table = new Table();
table.pane(pane -> {
pane.margin(0f, 28f, 0f, 28f);
pane.margin(0f, 24f, 0f, 24f);

content.each(this::visible, item -> {
pane.button(new TextureRegionDrawable(item.uiIcon), () -> {
Expand Down Expand Up @@ -76,7 +76,7 @@ public ContentSelectDialog(String title, Seq<T> content, int min, int max, int s

public void select(boolean showSlider, boolean showPlayers, boolean showTeams, Cons4<Player, Team, T, Float> callback) {
// in portrait orientation, ui elements may not fit into the screen
boolean minimize = graphics.getWidth() * Scl.scl() < (mobile ? 1400f : 2000f);
boolean minimize = graphics.getWidth() < Scl.scl(mobile ? 900f : 1250f);

players.pane.visible(showPlayers);
players.rebuild(minimize);
Expand Down

0 comments on commit 2144272

Please sign in to comment.