From 9c8ef909ec44828b19bb50cfbd62bfa77f1557ce Mon Sep 17 00:00:00 2001 From: fgnm Date: Tue, 30 Jun 2020 21:25:23 +0200 Subject: [PATCH] Update VisUI to 1.4.5-SNAPSHOT --- build.gradle | 2 +- hyperlap2d-common-api/build.gradle | 3 ++- plugin-9patch/build.gradle | 3 ++- plugin-performance/build.gradle | 3 ++- plugin-tiled/build.gradle | 3 ++- .../games/rednblack/editor/view/ui/box/UIItemsTreeBox.java | 2 +- 6 files changed, 10 insertions(+), 6 deletions(-) diff --git a/build.gradle b/build.gradle index ea8c0889..5049943f 100644 --- a/build.gradle +++ b/build.gradle @@ -27,7 +27,7 @@ ext { box2dlightsVersion = '1.5' ashleyVersion = '1.7.3' spineVersion = '3.8.55.1' - visuiVersion = '1.4.4' + visuiVersion = '1.4.5-SNAPSHOT' packMain = ["art/textures", "assets/style/", "uiskin"] packSplash = ["art/splash_textures", "assets/splash/", "splash"] diff --git a/hyperlap2d-common-api/build.gradle b/hyperlap2d-common-api/build.gradle index d56917a9..64544608 100644 --- a/hyperlap2d-common-api/build.gradle +++ b/hyperlap2d-common-api/build.gradle @@ -7,13 +7,14 @@ version '0.0.1' repositories { mavenCentral() + maven { url "https://oss.sonatype.org/content/repositories/snapshots/" } } ext { gdxVersion = '1.9.10' box2DLightsVersion = '1.5' ashleyVersion = '1.7.3' - visUIVersion = '1.4.4' + visUIVersion = '1.4.5-SNAPSHOT' } dependencies { diff --git a/plugin-9patch/build.gradle b/plugin-9patch/build.gradle index 6ab5e692..6c9a5a76 100644 --- a/plugin-9patch/build.gradle +++ b/plugin-9patch/build.gradle @@ -9,11 +9,12 @@ ext { gdxVersion = '1.9.10' box2DLightsVersion = '1.5' ashleyVersion = '1.7.3' - visUIVersion = '1.4.4' + visUIVersion = '1.4.5-SNAPSHOT' } repositories { mavenCentral() + maven { url "https://oss.sonatype.org/content/repositories/snapshots/" } } dependencies { diff --git a/plugin-performance/build.gradle b/plugin-performance/build.gradle index c00e8e0c..76b667df 100644 --- a/plugin-performance/build.gradle +++ b/plugin-performance/build.gradle @@ -7,13 +7,14 @@ version '0.0.1' repositories { mavenCentral() + maven { url "https://oss.sonatype.org/content/repositories/snapshots/" } } ext { gdxVersion = '1.9.10' box2DLightsVersion = '1.5' ashleyVersion = '1.7.3' - visUIVersion = '1.4.4' + visUIVersion = '1.4.5-SNAPSHOT' } dependencies { diff --git a/plugin-tiled/build.gradle b/plugin-tiled/build.gradle index 5700c386..8bafc2fc 100644 --- a/plugin-tiled/build.gradle +++ b/plugin-tiled/build.gradle @@ -9,13 +9,14 @@ ext { gdxVersion = '1.9.10' box2DLightsVersion = '1.5' ashleyVersion = '1.7.3' - visUIVersion = '1.4.4' + visUIVersion = '1.4.5-SNAPSHOT' pack = ["assets/textures", "assets/pack/", "tiled"] } repositories { mavenCentral() + maven { url "https://oss.sonatype.org/content/repositories/snapshots/" } } dependencies { diff --git a/src/main/java/games/rednblack/editor/view/ui/box/UIItemsTreeBox.java b/src/main/java/games/rednblack/editor/view/ui/box/UIItemsTreeBox.java index 68d408b8..e3991f82 100644 --- a/src/main/java/games/rednblack/editor/view/ui/box/UIItemsTreeBox.java +++ b/src/main/java/games/rednblack/editor/view/ui/box/UIItemsTreeBox.java @@ -67,7 +67,7 @@ public class UIItemsTreeBox extends UICollapsibleBox { sandbox = Sandbox.getInstance(); treeTable.clear(); - tree = new VisTree(); + tree = new VisTree<>(); VisScrollPane scroller = StandardWidgetsFactory.createScrollPane(tree); scroller.setFlickScroll(false); treeTable.add(scroller).width(166).maxHeight(570);