move mouse wheel reset to sensible location

pull/20/head
cosmonaut 2022-06-04 15:51:19 -07:00
parent d2a51ce524
commit 26e7e5c809
1 changed files with 1 additions and 0 deletions

View File

@ -37,6 +37,7 @@ namespace MoonWorks.Input
// Assumes that SDL_PumpEvents has been called! // Assumes that SDL_PumpEvents has been called!
internal void Update() internal void Update()
{ {
Mouse.Wheel = 0;
Keyboard.Update(); Keyboard.Update();
Mouse.Update(); Mouse.Update();