Add missing braces

This commit is contained in:
Dean Herbert 2021-01-18 17:13:47 +09:00
parent c79ab63743
commit 2f1d4bf51b
1 changed files with 2 additions and 0 deletions

View File

@ -239,12 +239,14 @@ private Quad getSurroundingQuad(OsuHitObject[] hitObjects) =>
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 };
}));