diff options
author | SimonIT <simonit.orig@gmail.com> | 2019-12-18 11:33:02 +0100 |
---|---|---|
committer | SimonIT <simonit.orig@gmail.com> | 2019-12-18 11:33:02 +0100 |
commit | 4a5bedc0ec5ada1a133d25ddaf46f6118556e92b (patch) | |
tree | 21eee044fabc7f88993d950104f39beef1fca09e | |
parent | 4d3f9c7a3e4996bb99478ba26d317b11231b2a5e (diff) | |
download | gdx-boardgame-4a5bedc0ec5ada1a133d25ddaf46f6118556e92b.zip gdx-boardgame-4a5bedc0ec5ada1a133d25ddaf46f6118556e92b.tar.gz |
update glyph layout with new font, forgot at #11
-rw-r--r-- | core/src/ch/asynk/gdx/boardgame/ui/Label.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/src/ch/asynk/gdx/boardgame/ui/Label.java b/core/src/ch/asynk/gdx/boardgame/ui/Label.java index dcae8f0..10b7c50 100644 --- a/core/src/ch/asynk/gdx/boardgame/ui/Label.java +++ b/core/src/ch/asynk/gdx/boardgame/ui/Label.java @@ -34,6 +34,7 @@ public class Label extends Element public void setFont(BitmapFont font) { this.font = font; + this.layout.setText(font, (text == null) ? "" : text); taint(); } |