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:
parent
c79ab63743
commit
2f1d4bf51b
@ -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 };
|
||||
}));
|
||||
|
Loading…
Reference in New Issue
Block a user