1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-21 01:39:54 +08:00

Avoid using .Children for enumeration in other locations

This commit is contained in:
Dean Herbert
2024-01-23 05:32:11 +09:00
Unverified
parent 069af13aaf
commit 02bb506cce
10 changed files with 18 additions and 19 deletions
+1 -1
View File
@@ -343,7 +343,7 @@ namespace osu.Game.Screens.Menu
{
buttonArea.ButtonSystemState = state;
foreach (var b in buttonArea.Children.OfType<MainMenuButton>())
foreach (var b in buttonArea.OfType<MainMenuButton>())
b.ButtonSystemState = state;
}