diff options
Diffstat (limited to 'core/src/com/ilotterytea/maxoning/screens')
| -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); |
