mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 09:22:54 +08:00
clear settings controls when changing rulesets
This commit is contained in:
parent
59b2f02828
commit
9375ef5eea
@ -330,6 +330,7 @@ namespace osu.Game.Overlays.Mods
|
|||||||
if (mods != null) SelectedMods.BindTo(mods);
|
if (mods != null) SelectedMods.BindTo(mods);
|
||||||
|
|
||||||
SelectedMods.ValueChanged += updateModSettings;
|
SelectedMods.ValueChanged += updateModSettings;
|
||||||
|
Ruleset.ValueChanged += _ => ModSettingsContent.Clear();
|
||||||
|
|
||||||
sampleOn = audio.Samples.Get(@"UI/check-on");
|
sampleOn = audio.Samples.Get(@"UI/check-on");
|
||||||
sampleOff = audio.Samples.Get(@"UI/check-off");
|
sampleOff = audio.Samples.Get(@"UI/check-off");
|
||||||
|
Loading…
Reference in New Issue
Block a user