mirror of
https://github.com/ppy/osu
synced 2025-01-14 01:51:04 +00:00
Fix hidden issue with automatic customisation panel show logic
Doesn't cause tests to fail headless, but they do fail in the test browser.
This commit is contained in:
parent
14d2159b8c
commit
2cc56a4b19
@ -217,7 +217,7 @@ namespace osu.Game.Overlays.Mods
|
||||
foreach (var mod in SelectedMods.Value)
|
||||
{
|
||||
anyCustomisableMod |= mod.GetSettingsSourceProperties().Any();
|
||||
anyModWithRequiredCustomisationAdded |= !valueChangedEvent.OldValue.Contains(mod) && mod.RequiresConfiguration;
|
||||
anyModWithRequiredCustomisationAdded |= valueChangedEvent.OldValue.All(m => m.GetType() != mod.GetType()) && mod.RequiresConfiguration;
|
||||
}
|
||||
|
||||
if (anyCustomisableMod)
|
||||
|
Loading…
Reference in New Issue
Block a user