1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-21 22:47:24 +08:00

Show distance snap for first juice stream object. Fixes #18469

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) if (EditorBeatmap.PlacementObject.Value is JuiceStream)
{ {
// Juice stream path is not subject to snapping. // 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); double timeAtCursor = ((CatchPlayfield)Playfield).TimeAtScreenSpacePosition(inputManager.CurrentState.Mouse.Position);