mirror of
https://github.com/ppy/osu.git
synced 2026-05-18 14:10:33 +08:00
Merge pull request #7298 from peppy/fix-restore-default
Update RestoreDefaultValueButton when default value changes
This commit is contained in:
@@ -113,6 +113,7 @@ namespace osu.Game.Overlays.Settings
|
||||
bindable = value;
|
||||
bindable.ValueChanged += _ => UpdateState();
|
||||
bindable.DisabledChanged += _ => UpdateState();
|
||||
bindable.DefaultChanged += _ => UpdateState();
|
||||
UpdateState();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user