libGDX 1.9.9, fix #635

This commit is contained in:
Emux 2019-01-23 12:45:50 +02:00
parent 5eb27b7553
commit 540d6c23f9
No known key found for this signature in database
GPG Key ID: 64ED9980896038C3
6 changed files with 17 additions and 6 deletions

View File

@ -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"

View File

@ -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)

View File

@ -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

View File

@ -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

View File

@ -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();

View File

@ -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];