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
1 changed files with 2 additions and 1 deletions

View File

@ -188,7 +188,8 @@ private PalpableCatchHitObject getDistanceSnapGridSourceHitObject()
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);