v0.9.4: updated libGDX to 1.10.0, dropping support for Android 2.3/3

This commit is contained in:
Evan Debenham
2021-06-23 20:29:13 -04:00
parent cd8abf720c
commit 9b63eb5e09
12 changed files with 23 additions and 62 deletions

View File

@@ -109,8 +109,8 @@ public class InputHandler extends InputAdapter {
// ********************
@Override
public boolean scrolled(int amount) {
ScrollEvent.addScrollEvent( new ScrollEvent(pointerHoverPos, amount));
public boolean scrolled(float amountX, float amountY) {
ScrollEvent.addScrollEvent( new ScrollEvent(pointerHoverPos, amountY));
return true;
}
}