1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-24 04:09:53 +08:00

Add brackets

Co-Authored-By: peppy <pe@ppy.sh>
This commit is contained in:
Dan Balasescu
2018-11-23 10:06:06 +09:00
committed by GitHub
Unverified
parent 1b76e2faf5
commit b446a73c0c
+1 -1
View File
@@ -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;