summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2015-11-10 15:20:05 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2015-11-10 15:20:05 +0100
commitd675067bf8aa441f26e666c3db5e407bf06b75ce (patch)
treec4a22c695169f63e28cf2c4542a98c5c434cf8c2 /core
parent57de7cc0e238bc0cec7e8840a7d3d65f69149589 (diff)
downloadRustAndDust-d675067bf8aa441f26e666c3db5e407bf06b75ce.zip
RustAndDust-d675067bf8aa441f26e666c3db5e407bf06b75ce.tar.gz
RustAndDust: code reordering
Diffstat (limited to 'core')
-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()