libGDX 1.9.9, fix #635
This commit is contained in:
@@ -15,7 +15,7 @@ allprojects {
|
|||||||
ext.isReleaseVersion = !version.endsWith("SNAPSHOT")
|
ext.isReleaseVersion = !version.endsWith("SNAPSHOT")
|
||||||
|
|
||||||
ext.androidBuildVersionTools = "28.0.3"
|
ext.androidBuildVersionTools = "28.0.3"
|
||||||
ext.gdxVersion = "1.9.8"
|
ext.gdxVersion = "1.9.9"
|
||||||
ext.gwtVersion = "2.8.0"
|
ext.gwtVersion = "2.8.0"
|
||||||
ext.slf4jVersion = "1.7.25"
|
ext.slf4jVersion = "1.7.25"
|
||||||
|
|
||||||
|
|||||||
@@ -10,6 +10,7 @@
|
|||||||
- vtm-models module [#580](https://github.com/mapsforge/vtm/issues/580)
|
- vtm-models module [#580](https://github.com/mapsforge/vtm/issues/580)
|
||||||
- ViewController refactor [#625](https://github.com/mapsforge/vtm/pull/625)
|
- ViewController refactor [#625](https://github.com/mapsforge/vtm/pull/625)
|
||||||
- `getMapViewCenter` / `setMapViewCenter` use pivotX, pivotY
|
- `getMapViewCenter` / `setMapViewCenter` use pivotX, pivotY
|
||||||
|
- libGDX 1.9.9 [#635](https://github.com/mapsforge/vtm/issues/635)
|
||||||
- Many other minor improvements and bug fixes
|
- Many other minor improvements and bug fixes
|
||||||
- [Solved issues](https://github.com/mapsforge/vtm/issues?q=is%3Aclosed+milestone%3A0.11.0)
|
- [Solved issues](https://github.com/mapsforge/vtm/issues?q=is%3Aclosed+milestone%3A0.11.0)
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ buildscript {
|
|||||||
jcenter()
|
jcenter()
|
||||||
}
|
}
|
||||||
dependencies {
|
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'
|
[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
|
||||||
|
|
||||||
ext {
|
ext {
|
||||||
roboVMVersion = "2.3.3"
|
roboVMVersion = "2.3.5"
|
||||||
}
|
}
|
||||||
|
|
||||||
launchIPhoneSimulator.dependsOn build
|
launchIPhoneSimulator.dependsOn build
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ buildscript {
|
|||||||
jcenter()
|
jcenter()
|
||||||
}
|
}
|
||||||
dependencies {
|
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'
|
[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
|
||||||
|
|
||||||
ext {
|
ext {
|
||||||
roboVMVersion = "2.3.3"
|
roboVMVersion = "2.3.5"
|
||||||
}
|
}
|
||||||
|
|
||||||
launchIPhoneSimulator.dependsOn build
|
launchIPhoneSimulator.dependsOn build
|
||||||
|
|||||||
@@ -186,7 +186,7 @@ public abstract class GwtApplication implements EntryPoint, Application {
|
|||||||
Gdx.files = new GwtFiles(preloader);
|
Gdx.files = new GwtFiles(preloader);
|
||||||
this.input = new GwtInput(graphics.canvas);
|
this.input = new GwtInput(graphics.canvas);
|
||||||
Gdx.input = this.input;
|
Gdx.input = this.input;
|
||||||
this.net = new GwtNet();
|
this.net = new GwtNet(config);
|
||||||
Gdx.net = this.net;
|
Gdx.net = this.net;
|
||||||
this.clipboard = new GwtClipboard();
|
this.clipboard = new GwtClipboard();
|
||||||
updateLogLabelSize();
|
updateLogLabelSize();
|
||||||
|
|||||||
@@ -160,6 +160,16 @@ public class GwtInput implements Input {
|
|||||||
return touched[pointer];
|
return touched[pointer];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public float getPressure() {
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public float getPressure(int pointer) {
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean isButtonPressed(int button) {
|
public boolean isButtonPressed(int button) {
|
||||||
return pressedButtons.contains(button) && touched[0];
|
return pressedButtons.contains(button) && touched[0];
|
||||||
|
|||||||
Reference in New Issue
Block a user