From 724387ca8a4917d022c1b333076b1879c0e7dfcc Mon Sep 17 00:00:00 2001 From: WEGFan Date: Tue, 19 Oct 2021 02:35:38 +0800 Subject: [PATCH] [ci skip] Update comments --- Celeste.Mod.mm/Patches/Monocle/Commands.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Celeste.Mod.mm/Patches/Monocle/Commands.cs b/Celeste.Mod.mm/Patches/Monocle/Commands.cs index 39bc4971a..f450df469 100644 --- a/Celeste.Mod.mm/Patches/Monocle/Commands.cs +++ b/Celeste.Mod.mm/Patches/Monocle/Commands.cs @@ -80,7 +80,7 @@ internal void Render() { int viewHeight = Engine.ViewHeight; // Vector2 mousePosition = MInput.Mouse.Position; - // For whatever reason, MInput.Mouse.Position keeps returning 0, 0 + // When the console is opening, MInput.Mouse.UpdateNull is called so MInput.Mouse.Position keeps returning 0, 0 // Let's just use the XNA / FNA MouseState instead. MouseState mouseState = Mouse.GetState(); int mouseScrollDelta = mouseState.ScrollWheelValue - mouseScroll;