1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-14 17:52:56 +08:00

Add missing braces

This commit is contained in:
Dean Herbert 2021-01-18 17:13:47 +09:00
parent c79ab63743
commit 2f1d4bf51b

View File

@ -239,12 +239,14 @@ namespace osu.Game.Rulesets.Osu.Edit
getSurroundingQuad(hitObjects.SelectMany(h =>
{
if (h is IHasPath path)
{
return new[]
{
h.Position,
// can't use EndPosition for reverse slider cases.
h.Position + path.Path.PositionAt(1)
};
}
return new[] { h.Position };
}));