From d3e124cea115724eedcb3b4786f2b7cff6519b71 Mon Sep 17 00:00:00 2001 From: cosmonaut Date: Fri, 8 Jul 2022 16:52:37 -0700 Subject: [PATCH] reset AnyPressedButton at start of Update --- src/Input/Input.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Input/Input.cs b/src/Input/Input.cs index 608bc768..c41178fb 100644 --- a/src/Input/Input.cs +++ b/src/Input/Input.cs @@ -41,6 +41,7 @@ namespace MoonWorks.Input internal void Update() { AnyPressed = false; + AnyPressedButton = default; // DeviceKind.None Mouse.Wheel = 0; Keyboard.Update();