v2.3.0: adjusted out-of-screen touch rejection
This commit is contained in:
@@ -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 ) );
|
||||
|
||||
Reference in New Issue
Block a user