master
Mohammad Shoaib Khan 2023-03-07 12:16:39 +05:30
parent 403a97b633
commit b0ef71cd4a
No known key found for this signature in database
GPG Key ID: D8040D966320B620
2 changed files with 4 additions and 4 deletions

View File

@ -17,6 +17,8 @@ namespace stardew_access.Patches
{ {
int x = Game1.getMouseX(true), y = Game1.getMouseY(true); // Mouse x and y position int x = Game1.getMouseX(true), y = Game1.getMouseY(true); // Mouse x and y position
handleKeyBinds(__instance, ___currentCraftingPage);
if (narrateMenuButtons(__instance, x, y)) if (narrateMenuButtons(__instance, x, y))
{ {
return; return;
@ -32,8 +34,6 @@ namespace stardew_access.Patches
craftingPageQueryKey = ""; craftingPageQueryKey = "";
return; return;
} }
handleKeyBinds(__instance, ___currentCraftingPage);
} }
catch (Exception e) catch (Exception e)
{ {

View File

@ -14,6 +14,8 @@ namespace stardew_access.Patches
{ {
int x = Game1.getMouseX(true), y = Game1.getMouseY(true); // Mouse x and y position int x = Game1.getMouseX(true), y = Game1.getMouseY(true); // Mouse x and y position
handleKeyBinds();
if (narrateHoveredButton(__instance, x, y)) if (narrateHoveredButton(__instance, x, y))
{ {
return; return;
@ -30,8 +32,6 @@ namespace stardew_access.Patches
return; return;
} }
handleKeyBinds();
// If no slot or button is hovered // If no slot or button is hovered
Cleanup(); Cleanup();
} }