1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-13 21:53:22 +08:00

Update RestoreDefaultValueButton when default value changes

This commit is contained in:
Dean Herbert 2019-12-20 13:50:47 +09:00
parent 3bd4ba3f9f
commit 656c584503

View File

@ -113,6 +113,7 @@ namespace osu.Game.Overlays.Settings
bindable = value; bindable = value;
bindable.ValueChanged += _ => UpdateState(); bindable.ValueChanged += _ => UpdateState();
bindable.DisabledChanged += _ => UpdateState(); bindable.DisabledChanged += _ => UpdateState();
bindable.DefaultChanged += _ => UpdateState();
UpdateState(); UpdateState();
} }
} }