mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 16:59:53 +09:00
Fix possible no-children-in-sequence exception.
This commit is contained in:
@ -132,6 +132,9 @@ namespace osu.Game.Rulesets.Mania.Timing
|
||||
return;
|
||||
}
|
||||
|
||||
if (!Children.Any())
|
||||
return;
|
||||
|
||||
float height = Children.Select(child => child.Y + child.Height).Max();
|
||||
|
||||
Height = height;
|
||||
|
Reference in New Issue
Block a user