Skip to content

Commit

Permalink
[ci skip] Update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
WEGFan committed Oct 18, 2021
1 parent 8b89a87 commit 724387c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Celeste.Mod.mm/Patches/Monocle/Commands.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 724387c

Please sign in to comment.