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 => getSurroundingQuad(hitObjects.SelectMany(h =>
{ {
if (h is IHasPath path) if (h is IHasPath path)
{
return new[] return new[]
{ {
h.Position, h.Position,
// can't use EndPosition for reverse slider cases. // can't use EndPosition for reverse slider cases.
h.Position + path.Path.PositionAt(1) h.Position + path.Path.PositionAt(1)
}; };
}
return new[] { h.Position }; return new[] { h.Position };
})); }));