Update VK to 0.9.7 and prevent players to move to button positions
This commit is contained in:
parent
f3eaa564e8
commit
b309f067c2
|
@ -76,6 +76,7 @@ namespace StardewModdingAPI.Mods.VirtualKeyboard
|
|||
{
|
||||
if (this.buttonRectangle.Contains(screenPixels.X * Game1.options.zoomLevel, screenPixels.Y * Game1.options.zoomLevel))
|
||||
{
|
||||
Toolbar.toolbarPressed = true;
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
|
|
@ -2,7 +2,6 @@ using System;
|
|||
using System.Collections.Generic;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
using Microsoft.Xna.Framework.Input;
|
||||
using StardewModdingAPI.Events;
|
||||
using StardewValley;
|
||||
using StardewValley.Menus;
|
||||
|
@ -55,6 +54,7 @@ namespace StardewModdingAPI.Mods.VirtualKeyboard
|
|||
if (Game1.activeClickableMenu is IClickableMenu menu)
|
||||
{
|
||||
menu.exitThisMenu();
|
||||
Toolbar.toolbarPressed = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"Name": "VirtualKeyboard",
|
||||
"Author": "MartyrPher",
|
||||
"Version": "0.9.6",
|
||||
"Version": "0.9.7",
|
||||
"MinimumApiVersion": "2.10.1",
|
||||
"Description": "A much needed Virtual Keyboard for SMAPI Android.",
|
||||
"UniqueID": "VirtualKeyboard",
|
||||
|
|
Loading…
Reference in New Issue