Skip to content

Commit

Permalink
Removing sending of ENTER key when game screen is clicked. Causes iss…
Browse files Browse the repository at this point in the history
…ues with menu and keyboard overlay.
  • Loading branch information
lanceewing committed Apr 25, 2024
1 parent 812f475 commit 7690914
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,8 @@ private boolean updateAGIMouse(Vector2 touchXY, int button, boolean buttonDown)
// Only if it is within the AGI Screen do we set the mouse vars.
if (buttonDown) {
gameScreen.getAgileRunner().getVariableData().setMouseButton(button + 1);
getUserInput().keyDown(Keys.ENTER);
// TODO: Commenting this out for now, as it causes issues with menu and keyboard overlay. Needs rethinking.
//getUserInput().keyDown(Keys.ENTER);
} else {
gameScreen.getAgileRunner().getVariableData().setMouseButton(0);
}
Expand Down

0 comments on commit 7690914

Please sign in to comment.