summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2019-12-18 12:52:01 +0100
committerGitHub <noreply@github.com>2019-12-18 12:52:01 +0100
commit29400f6c52d22198a2d78b9a50f12937082d004d (patch)
tree21eee044fabc7f88993d950104f39beef1fca09e /core
parent4d3f9c7a3e4996bb99478ba26d317b11231b2a5e (diff)
parent4a5bedc0ec5ada1a133d25ddaf46f6118556e92b (diff)
downloadgdx-boardgame-29400f6c52d22198a2d78b9a50f12937082d004d.zip
gdx-boardgame-29400f6c52d22198a2d78b9a50f12937082d004d.tar.gz
Merge pull request #13 from SimonIT/update-glyph-layout-with-new-font
Update glyph layout with new font, forgot at #11
Diffstat (limited to 'core')
-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();
}