From 4a5bedc0ec5ada1a133d25ddaf46f6118556e92b Mon Sep 17 00:00:00 2001 From: SimonIT Date: Wed, 18 Dec 2019 11:33:02 +0100 Subject: update glyph layout with new font, forgot at #11 --- core/src/ch/asynk/gdx/boardgame/ui/Label.java | 1 + 1 file changed, 1 insertion(+) 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(); } -- cgit v1.1-2-g2b99