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

Merge pull request #7298 from peppy/fix-restore-default

Update RestoreDefaultValueButton when default value changes
This commit is contained in:
Dan Balasescu 2019-12-20 14:22:30 +09:00 committed by GitHub
commit 5e898ecbfc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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