1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-15 23:03:02 +08:00

Fix scrolling no longer adjusting distance spacing by amount

This commit is contained in:
Salman Ahmed 2022-05-04 09:51:53 +03:00
parent 813d6fed48
commit 504ca5be31

View File

@ -98,7 +98,7 @@ namespace osu.Game.Rulesets.Edit
{
case GlobalAction.EditorIncreaseDistanceSpacing:
case GlobalAction.EditorDecreaseDistanceSpacing:
return adjustDistanceSpacing(e.Action, e.IsPrecise ? 0.01f : 0.1f);
return adjustDistanceSpacing(e.Action, e.ScrollAmount * (e.IsPrecise ? 0.01f : 0.1f));
}
return false;