summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/ch/asynk')
-rw-r--r--core/src/ch/asynk/rustanddust/RustAndDust.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/src/ch/asynk/rustanddust/RustAndDust.java b/core/src/ch/asynk/rustanddust/RustAndDust.java
index aa3a562..adc83e8 100644
--- a/core/src/ch/asynk/rustanddust/RustAndDust.java
+++ b/core/src/ch/asynk/rustanddust/RustAndDust.java
@@ -154,13 +154,12 @@ public class RustAndDust extends Game
FreeTypeFontParameter parameter = new FreeTypeFontParameter();
float h = Gdx.graphics.getHeight();
+ Bg.setScale(Math.max((h * 0.00125f), 1.0f));
parameter.size = Math.max((int) (h * 0.04f), 16);
parameter.color = Color.BLACK;
fontB = generator.generateFont(parameter);
parameter.color = Color.WHITE;
fontW = generator.generateFont(parameter);
-
- Bg.setScale(Math.max((h * 0.00125f), 1.0f));
}
private void unloadUiAssets()