v2.3.0: adjusted out-of-screen touch rejection

This commit is contained in:
Evan Debenham
2024-01-07 15:35:48 -05:00
parent 928deaf646
commit 6d96498075

View File

@@ -122,9 +122,6 @@ public class InputHandler extends InputAdapter {
@Override
public synchronized boolean touchUp(int screenX, int screenY, int pointer, int button) {
if (screenX < 0 || screenX > Game.width || screenY < 0 || screenY > Game.height){
return true;
}
if (button >= 3 && KeyBindings.isKeyBound( button + 1000 )) {
KeyEvent.addKeyEvent( new KeyEvent( button + 1000, false ) );