summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/src/kz/ilotterytea/maxon/screens/game/shop/ShopUI.java6
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