v1.2.2 fixed a few bugs and real final commit aaaaah

This commit is contained in:
Evan Debenham
2022-04-07 21:38:29 -04:00
parent f0ecc2a94e
commit 5f4b2560d4
4 changed files with 9 additions and 3 deletions

View File

@@ -104,7 +104,7 @@ public class InputHandler extends InputAdapter {
public synchronized boolean touchUp(int screenX, int screenY, int pointer, int button) {
if (button >= 3 && KeyBindings.isKeyBound( button + 1000 )) {
KeyEvent.addKeyEvent( new KeyEvent( button + 1000, true ) );
KeyEvent.addKeyEvent( new KeyEvent( button + 1000, false ) );
} else if (button < 3) {
PointerEvent.addPointerEvent(new PointerEvent(screenX, screenY, pointer, PointerEvent.Type.UP, button));
}