mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 19:42:55 +08:00
Fix enumerator allocation
This commit is contained in:
parent
854d7c6fb4
commit
e825db61ee
@ -72,8 +72,10 @@ namespace osu.Game.Screens.Edit.Compose.Components.Timeline
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Add remaining ones
|
// Add remaining ones
|
||||||
foreach (var group in controlPointGroups)
|
for (int i = 0; i < controlPointGroups.Count; i++)
|
||||||
{
|
{
|
||||||
|
var group = controlPointGroups[i];
|
||||||
|
|
||||||
if (!shouldBeVisible(group))
|
if (!shouldBeVisible(group))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user