1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 01:52:55 +08:00

Show distance snap for first juice stream object. Fixes

This commit is contained in:
Dylan Nantz 2022-12-05 15:12:50 -05:00
parent 08a403cb33
commit 4ab7ef9af9

View File

@ -188,7 +188,8 @@ namespace osu.Game.Rulesets.Catch.Edit
if (EditorBeatmap.PlacementObject.Value is JuiceStream)
{
// Juice stream path is not subject to snapping.
return null;
if (((JuiceStream)EditorBeatmap.PlacementObject.Value).Distance != 0)
return null;
}
double timeAtCursor = ((CatchPlayfield)Playfield).TimeAtScreenSpacePosition(inputManager.CurrentState.Mouse.Position);