1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-16 11:37:27 +08:00

Workaround bad performance when selecting all freemods

This commit is contained in:
Dan Balasescu 2022-05-10 14:48:41 +09:00
parent 886a4815fa
commit 2b7eeadac0

View File

@ -192,6 +192,7 @@ namespace osu.Game.Overlays.Mods
State.BindValueChanged(_ => samplePlaybackDisabled.Value = State.Value == Visibility.Hidden, true);
if (customisationButton != null)
((IBindable<IReadOnlyList<Mod>>)modSettingsArea.SelectedMods).BindTo(SelectedMods);
SelectedMods.BindValueChanged(val =>