diff options
| author | ilotterytea <iltsu@alright.party> | 2024-11-10 01:29:00 +0500 |
|---|---|---|
| committer | ilotterytea <iltsu@alright.party> | 2024-11-10 01:29:00 +0500 |
| commit | 3ffac8617f06efd20d0c5ac73979e28857ff0ef5 (patch) | |
| tree | 18e90a6ab26ef78467b7229301cf2dbbd2cad8e1 | |
| parent | d45eed9b8812d5e575e6c94f0a6f7994b29f8c98 (diff) | |
fix: multiplier button size
| -rw-r--r-- | core/src/kz/ilotterytea/maxon/screens/game/shop/ShopUI.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/core/src/kz/ilotterytea/maxon/screens/game/shop/ShopUI.java b/core/src/kz/ilotterytea/maxon/screens/game/shop/ShopUI.java index 7287cad..8189eb7 100644 --- a/core/src/kz/ilotterytea/maxon/screens/game/shop/ShopUI.java +++ b/core/src/kz/ilotterytea/maxon/screens/game/shop/ShopUI.java @@ -208,16 +208,18 @@ public class ShopUI { controlTable.add(modeTable).padRight(5f).grow(); + float size = OsUtils.isMobile ? 100f : 64f; + // Multiplier changer Table multiplierTable = new Table(); multiplierTable.align(Align.left); TextButton x1Button = new TextButton(MaxonGame.getInstance().getLocale().getLine(LineId.StoreX1), this.skin, styleName); x1Button.setDisabled(true); - multiplierTable.add(x1Button).width(64f).height(64f).padRight(10f); + multiplierTable.add(x1Button).width(size).height(size).padRight(10f); TextButton x10Button = new TextButton(MaxonGame.getInstance().getLocale().getLine(LineId.StoreX10), this.skin, styleName); - multiplierTable.add(x10Button).width(64f).height(64f); + multiplierTable.add(x10Button).width(size).height(size); x1Button.addListener(new ClickListener() { @Override |
