mirror of
https://github.com/ppy/osu
synced 2025-03-02 09:30:57 +00:00
Show distance snap for first juice stream object. Fixes #18469
This commit is contained in:
parent
08a403cb33
commit
4ab7ef9af9
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user