diff options
| author | ilotterytea <iltsu@alright.party> | 2022-12-10 21:54:25 +0600 |
|---|---|---|
| committer | ilotterytea <iltsu@alright.party> | 2022-12-10 21:54:25 +0600 |
| commit | 1644cbf6fdeb688d643a1d7e01194973fb3a5acf (patch) | |
| tree | 613664ce2ac19464300f55d6ff7119473b8bed34 /core/src | |
| parent | 8bb4283f7969fdd9feae3537dbb584f97ecb414b (diff) | |
Make the mobile screen closer
Diffstat (limited to 'core/src')
| -rw-r--r-- | core/src/com/ilotterytea/maxoning/screens/MobileMenuScreen.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/com/ilotterytea/maxoning/screens/MobileMenuScreen.java b/core/src/com/ilotterytea/maxoning/screens/MobileMenuScreen.java index f97452b..ee3bea0 100644 --- a/core/src/com/ilotterytea/maxoning/screens/MobileMenuScreen.java +++ b/core/src/com/ilotterytea/maxoning/screens/MobileMenuScreen.java @@ -50,7 +50,7 @@ public class MobileMenuScreen implements Screen { @Override public void show() { - stage = new Stage(new FillViewport(Gdx.graphics.getWidth(), Gdx.graphics.getHeight())); + stage = new Stage(new FillViewport(Gdx.graphics.getWidth() / game.prefs.getFloat("scale", 2f), Gdx.graphics.getHeight() / game.prefs.getFloat("scale", 2f))); skin = game.assetManager.get("MainSpritesheet.skin", Skin.class); TextureAtlas brandAtlas = game.assetManager.get("sprites/gui/brand.atlas", TextureAtlas.class); |
