1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-12 17:23:22 +08:00

Fix enumerator allocation

This commit is contained in:
Andrei Zavatski 2024-03-16 12:26:56 +03:00
parent 854d7c6fb4
commit e825db61ee

View File

@ -72,8 +72,10 @@ namespace osu.Game.Screens.Edit.Compose.Components.Timeline
}
// Add remaining ones
foreach (var group in controlPointGroups)
for (int i = 0; i < controlPointGroups.Count; i++)
{
var group = controlPointGroups[i];
if (!shouldBeVisible(group))
continue;