1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-13 15:53:51 +08:00

Remove unnecessary usage of ChildrenEnumerable for array assignment

This commit is contained in:
Dean Herbert 2021-05-12 13:00:02 +09:00
parent bf44c09a91
commit 3428056113

View File

@ -75,7 +75,7 @@ namespace osu.Game.Rulesets.Mania.UI
{
Name = "Column samples pool",
RelativeSizeAxes = Axes.Both,
ChildrenEnumerable = hitSounds = Enumerable.Range(0, max_concurrent_hitsounds).Select(_ => new SkinnableSound()).ToArray()
Children = hitSounds = Enumerable.Range(0, max_concurrent_hitsounds).Select(_ => new SkinnableSound()).ToArray()
},
TopLevelContainer = new Container { RelativeSizeAxes = Axes.Both }
};