From c415b389f5d22b9f4e8e0a83facca29d24f71d71 Mon Sep 17 00:00:00 2001 From: Chris Date: Tue, 4 Jun 2019 11:26:01 -0400 Subject: [PATCH] Virtual toggle --- src/StardewModdingAPI.Mods.VirtualKeyboard/VirtualToggle.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/StardewModdingAPI.Mods.VirtualKeyboard/VirtualToggle.cs b/src/StardewModdingAPI.Mods.VirtualKeyboard/VirtualToggle.cs index b563d1b7..4a7f2d97 100644 --- a/src/StardewModdingAPI.Mods.VirtualKeyboard/VirtualToggle.cs +++ b/src/StardewModdingAPI.Mods.VirtualKeyboard/VirtualToggle.cs @@ -95,7 +95,7 @@ namespace StardewModdingAPI.Mods.VirtualKeyboard { scale = 0.5f; } - if(!Game1.eventUp || Game1.activeClickableMenu is GameMenu == false) + if(!Game1.eventUp && Game1.activeClickableMenu is GameMenu == false) this.virtualToggleButton.draw(Game1.spriteBatch, Color.White * scale, 0.000001f); } }