mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 00:40:09 +09:00
Add multiple mod testing and update test code style
This commit is contained in:
@ -345,7 +345,7 @@ namespace osu.Game.Overlays.Mods
|
||||
if (added is IModHasSettings)
|
||||
ModSettingsContent.Add(new ModControlSection(added));
|
||||
else if (removed is IModHasSettings)
|
||||
ModSettingsContent.Remove(ModSettingsContent.Children.Where(section => section.Mod == removed).Single());
|
||||
ModSettingsContent.Remove(ModSettingsContent.Children.Single(section => section.Mod == removed));
|
||||
|
||||
CustomizeButton.Enabled.Value = ModSettingsContent.Children.Count > 0;
|
||||
|
||||
|
Reference in New Issue
Block a user