mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 12:53:11 +08:00
Add brackets
Co-Authored-By: peppy <pe@ppy.sh>
This commit is contained in:
parent
1b76e2faf5
commit
b446a73c0c
@ -186,7 +186,7 @@ namespace osu.Game.Screens.Edit
|
|||||||
|
|
||||||
protected override bool OnScroll(ScrollEvent e)
|
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;
|
const int precision = 1;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user