Skip to content

Commit 94db08c

Browse files
authored
Update to libGDX 1.12.0 (#381)
1 parent 80d1297 commit 94db08c

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ allprojects {
2727

2828
ext {
2929
appName = 'vis'
30-
gdxVersion = '1.11.0'
30+
gdxVersion = '1.12.0'
3131
jnaVersion = '4.1.0'
3232
jnaPlatformVersion = '3.5.2'
3333
appleJavaExtensionsVersion = '1.4'

ui/CHANGES.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
#### Version: 1.5.2-SNAPSHOT (libGDX 1.11.0)
1+
#### Version: 1.5.2-SNAPSHOT (libGDX 1.12.0)
2+
- Updated to libGDX 1.12.0
23
- **Added**: [#373](https://github.com/kotcrab/vis-ui/issues/373) - `VisImageTextButton` an optional `Orientation` value can be set to change how the button label is positioned relative to the button image
34
- Defaults to existing behavior (label to the right of image in the same row), and orientation can be changed via `VisImageTextButton.setOrientation()`
45

ui/src/main/java/com/kotcrab/vis/ui/VisUI.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
* @author Kotcrab
3131
*/
3232
public class VisUI {
33-
private static final String TARGET_GDX_VERSION = "1.11.0";
33+
private static final String TARGET_GDX_VERSION = "1.12.0";
3434
private static boolean skipGdxVersionCheck = false;
3535

3636
private static int defaultTitleAlign = Align.left;
@@ -95,7 +95,7 @@ public static void load (Skin skin) {
9595

9696
private static void checkBeforeLoad () {
9797
if (skin != null) throw new GdxRuntimeException("VisUI cannot be loaded twice");
98-
if (skipGdxVersionCheck == false && Version.VERSION.equals(TARGET_GDX_VERSION) == false) {
98+
if (!skipGdxVersionCheck && !Version.VERSION.equals(TARGET_GDX_VERSION)) {
9999
Gdx.app.log("VisUI", "Warning, using invalid libGDX version.\n" +
100100
"You are using libGDX " + Version.VERSION + " but you need " + TARGET_GDX_VERSION + ". This may cause " +
101101
"unexpected problems and runtime exceptions.");

0 commit comments

Comments
 (0)