libGDX 1.9.9, fix #635
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user