1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 11:38:21 +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;
}
float delta = (mOrientation == .Horz) ? deltaX : deltaY;
Scroll(GetScrollIncrement() * -delta);
float delta = (mOrientation == .Horz) ? deltaX : -deltaY;
Scroll(GetScrollIncrement() * delta);
}
}
}