diff --git a/core/src/main/java/com/agifans/agile/ui/GameScreenInputProcessor.java b/core/src/main/java/com/agifans/agile/ui/GameScreenInputProcessor.java index 3e02d88..fded3da 100644 --- a/core/src/main/java/com/agifans/agile/ui/GameScreenInputProcessor.java +++ b/core/src/main/java/com/agifans/agile/ui/GameScreenInputProcessor.java @@ -318,14 +318,14 @@ public boolean touchUp(int screenX, int screenY, int pointer, int button) { if (viewportManager.isPortrait()) { // Portrait. - if (touchXY.y < 125) { - if (touchXY.x < 116) { + if (touchXY.y < 130) { + if (touchXY.x < 126) { joystickClicked = true; - } else if (touchXY.x > (viewportManager.getWidth() - 116)) { + } else if (touchXY.x > (viewportManager.getWidth() - 126)) { backArrowClicked = true; } else { int midWidth = (int) (viewportManager.getWidth() - viewportManager.getWidth() / 2); - if ((touchXY.x > (midWidth - 58)) && (touchXY.y < (midWidth + 58))) { + if ((touchXY.x > (midWidth - 63)) && (touchXY.y < (midWidth + 63))) { fullScreenClicked = true; } }