diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2015-11-10 15:20:05 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2015-11-10 15:20:05 +0100 |
commit | d675067bf8aa441f26e666c3db5e407bf06b75ce (patch) | |
tree | c4a22c695169f63e28cf2c4542a98c5c434cf8c2 /core/src | |
parent | 57de7cc0e238bc0cec7e8840a7d3d65f69149589 (diff) | |
download | RustAndDust-d675067bf8aa441f26e666c3db5e407bf06b75ce.zip RustAndDust-d675067bf8aa441f26e666c3db5e407bf06b75ce.tar.gz |
RustAndDust: code reordering
Diffstat (limited to 'core/src')
-rw-r--r-- | core/src/ch/asynk/rustanddust/RustAndDust.java | 3 |
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() |