Reverted back to using escape key
This commit is contained in:
@@ -472,7 +472,7 @@ namespace stardew_access.Patches
|
||||
{
|
||||
string toSpeak = "";
|
||||
int x = Game1.getMouseX(true), y = Game1.getMouseY(true); // Mouse x and y position
|
||||
bool isEnterPressed = Game1.input.GetKeyboardState().IsKeyDown(Microsoft.Xna.Framework.Input.Keys.Enter); // For escaping/unselecting from the animal name text box
|
||||
bool isEscPressed = Game1.input.GetKeyboardState().IsKeyDown(Microsoft.Xna.Framework.Input.Keys.Escape); // For escaping/unselecting from the animal name text box
|
||||
|
||||
if (firstTimeInNamingMenu)
|
||||
{
|
||||
@@ -485,7 +485,7 @@ namespace stardew_access.Patches
|
||||
___textBox.Update();
|
||||
toSpeak = ___textBox.Text;
|
||||
|
||||
if (isEnterPressed)
|
||||
if (isEscPressed)
|
||||
{
|
||||
___textBox.Selected = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user