mirror of
https://github.com/ppy/osu.git
synced 2026-05-24 04:09:53 +08:00
committed by
GitHub
Unverified
parent
1b76e2faf5
commit
b446a73c0c
@@ -186,7 +186,7 @@ namespace osu.Game.Screens.Edit
|
||||
|
||||
protected override bool OnScroll(ScrollEvent e)
|
||||
{
|
||||
scrollAccumulation += e.ScrollDelta.X + e.ScrollDelta.Y * (e.IsPrecise ? 0.1 : 1);
|
||||
scrollAccumulation += (e.ScrollDelta.X + e.ScrollDelta.Y) * (e.IsPrecise ? 0.1 : 1);
|
||||
|
||||
const int precision = 1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user