diff --git a/build.gradle b/build.gradle index 07d594a0..23536ad8 100644 --- a/build.gradle +++ b/build.gradle @@ -15,7 +15,7 @@ allprojects { ext.isReleaseVersion = !version.endsWith("SNAPSHOT") ext.androidBuildVersionTools = "28.0.3" - ext.gdxVersion = "1.9.8" + ext.gdxVersion = "1.9.9" ext.gwtVersion = "2.8.0" ext.slf4jVersion = "1.7.25" diff --git a/docs/Changelog.md b/docs/Changelog.md index f8abbebe..496bf3cc 100644 --- a/docs/Changelog.md +++ b/docs/Changelog.md @@ -10,6 +10,7 @@ - vtm-models module [#580](https://github.com/mapsforge/vtm/issues/580) - ViewController refactor [#625](https://github.com/mapsforge/vtm/pull/625) - `getMapViewCenter` / `setMapViewCenter` use pivotX, pivotY +- libGDX 1.9.9 [#635](https://github.com/mapsforge/vtm/issues/635) - Many other minor improvements and bug fixes - [Solved issues](https://github.com/mapsforge/vtm/issues?q=is%3Aclosed+milestone%3A0.11.0) diff --git a/vtm-ios-example/build.gradle b/vtm-ios-example/build.gradle index b095fb8f..8724ca03 100644 --- a/vtm-ios-example/build.gradle +++ b/vtm-ios-example/build.gradle @@ -3,7 +3,7 @@ buildscript { jcenter() } dependencies { - classpath 'com.mobidevelop.robovm:robovm-gradle-plugin:2.3.3' + classpath 'com.mobidevelop.robovm:robovm-gradle-plugin:2.3.5' } } @@ -15,7 +15,7 @@ sourceSets.main.java.srcDirs = ["src/"] [compileJava, compileTestJava]*.options*.encoding = 'UTF-8' ext { - roboVMVersion = "2.3.3" + roboVMVersion = "2.3.5" } launchIPhoneSimulator.dependsOn build diff --git a/vtm-ios/build.gradle b/vtm-ios/build.gradle index 783e1685..d22211bc 100644 --- a/vtm-ios/build.gradle +++ b/vtm-ios/build.gradle @@ -3,7 +3,7 @@ buildscript { jcenter() } dependencies { - classpath 'com.mobidevelop.robovm:robovm-gradle-plugin:2.3.3' + classpath 'com.mobidevelop.robovm:robovm-gradle-plugin:2.3.5' } } @@ -16,7 +16,7 @@ sourceSets.main.java.srcDirs = ["src/"] [compileJava, compileTestJava]*.options*.encoding = 'UTF-8' ext { - roboVMVersion = "2.3.3" + roboVMVersion = "2.3.5" } launchIPhoneSimulator.dependsOn build diff --git a/vtm-web/src/org/oscim/gdx/emu/com/badlogic/gdx/backends/gwt/GwtApplication.java b/vtm-web/src/org/oscim/gdx/emu/com/badlogic/gdx/backends/gwt/GwtApplication.java index 01bc5c79..950ac8d5 100644 --- a/vtm-web/src/org/oscim/gdx/emu/com/badlogic/gdx/backends/gwt/GwtApplication.java +++ b/vtm-web/src/org/oscim/gdx/emu/com/badlogic/gdx/backends/gwt/GwtApplication.java @@ -186,7 +186,7 @@ public abstract class GwtApplication implements EntryPoint, Application { Gdx.files = new GwtFiles(preloader); this.input = new GwtInput(graphics.canvas); Gdx.input = this.input; - this.net = new GwtNet(); + this.net = new GwtNet(config); Gdx.net = this.net; this.clipboard = new GwtClipboard(); updateLogLabelSize(); diff --git a/vtm-web/src/org/oscim/gdx/emu/com/badlogic/gdx/backends/gwt/GwtInput.java b/vtm-web/src/org/oscim/gdx/emu/com/badlogic/gdx/backends/gwt/GwtInput.java index 8261ef16..d00b2214 100644 --- a/vtm-web/src/org/oscim/gdx/emu/com/badlogic/gdx/backends/gwt/GwtInput.java +++ b/vtm-web/src/org/oscim/gdx/emu/com/badlogic/gdx/backends/gwt/GwtInput.java @@ -160,6 +160,16 @@ public class GwtInput implements Input { return touched[pointer]; } + @Override + public float getPressure() { + return 0; + } + + @Override + public float getPressure(int pointer) { + return 0; + } + @Override public boolean isButtonPressed(int button) { return pressedButtons.contains(button) && touched[0];