1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 04:22:20 +02:00

Fixed horz mouse wheel scrolling direction

This commit is contained in:
Brian Fiete 2024-09-09 15:21:36 -04:00
parent 5e2f036918
commit 4af432955e

View file

@ -237,8 +237,8 @@ namespace Beefy.widgets
return; return;
} }
float delta = (mOrientation == .Horz) ? deltaX : deltaY; float delta = (mOrientation == .Horz) ? deltaX : -deltaY;
Scroll(GetScrollIncrement() * -delta); Scroll(GetScrollIncrement() * delta);
} }
} }
} }