mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-06 23:34:53 +08:00
Use field for Skeleton Viewer version.
This commit is contained in:
parent
b5bf674a64
commit
5ed73c8a94
@ -96,6 +96,7 @@ public class SkeletonViewer extends ApplicationAdapter {
|
||||
static float uiScale = 1;
|
||||
static String[] atlasSuffixes = {".atlas", ".atlas.txt", "-pro.atlas", "-pro.atlas.txt", "-ess.atlas", "-ess.atlas.txt"};
|
||||
static String[] args;
|
||||
static final String version = ""; // Replaced by build.
|
||||
|
||||
UI ui;
|
||||
|
||||
@ -681,7 +682,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));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user