1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 11:35:35 +08:00

Avoid executing selection twice on ModSelectOverlay load

This commit is contained in:
Dean Herbert 2021-02-10 15:13:09 +09:00
parent a39263423c
commit 435c85a2e7

View File

@ -371,8 +371,8 @@ namespace osu.Game.Overlays.Mods
{
base.LoadComplete();
SelectedMods.BindValueChanged(_ => updateSelectedButtons());
availableMods.BindValueChanged(_ => updateAvailableMods(), true);
SelectedMods.BindValueChanged(_ => updateSelectedButtons(), true);
}
protected override void PopOut()