summaryrefslogtreecommitdiffstats
path: root/core/src/ch
diff options
context:
space:
mode:
authorSimonIT <simonit.orig@gmail.com>2019-12-18 11:33:02 +0100
committerSimonIT <simonit.orig@gmail.com>2019-12-18 11:33:02 +0100
commit4a5bedc0ec5ada1a133d25ddaf46f6118556e92b (patch)
tree21eee044fabc7f88993d950104f39beef1fca09e /core/src/ch
parent4d3f9c7a3e4996bb99478ba26d317b11231b2a5e (diff)
downloadgdx-boardgame-4a5bedc0ec5ada1a133d25ddaf46f6118556e92b.zip
gdx-boardgame-4a5bedc0ec5ada1a133d25ddaf46f6118556e92b.tar.gz
update glyph layout with new font, forgot at #11
Diffstat (limited to 'core/src/ch')
-rw-r--r--core/src/ch/asynk/gdx/boardgame/ui/Label.java1
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();
}