[libgdx] Added version field to SkeletonViewer.

Needed to rebuild with latest build system.
This commit is contained in:
Nathan Sweet 2021-04-21 09:36:53 -07:00
parent 9e9445199a
commit c7ac5b21a8

View File

@ -97,6 +97,7 @@ public class SkeletonViewer extends ApplicationAdapter {
static String[] atlasSuffixes = {".atlas", "-pro.atlas", "-ess.atlas"};
static String[] extraSuffixes = {"", ".txt", ".bytes"};
static String[] args;
static public String version = "";
UI ui;
@ -679,7 +680,7 @@ public class SkeletonViewer extends ApplicationAdapter {
stage.addActor(table);
table.pad(10).top().right();
table.defaults().right();
table.add(new Label("", skin, "default", Color.LIGHT_GRAY)); // Version.
table.add(new Label(version, skin, "default", Color.LIGHT_GRAY)); // Version.
}
}