Add support for 'disabled' sample variation to HoverClickSounds

This commit is contained in:
Jamie Taylor
2022-11-03 17:44:54 +09:00
parent c48c9ecb6d
commit f1c17129eb
8 changed files with 34 additions and 7 deletions

View File

@ -104,7 +104,7 @@ namespace osu.Game.Graphics.UserInterface
});
if (hoverSounds.HasValue)
AddInternal(new HoverClickSounds(hoverSounds.Value));
AddInternal(new HoverClickSounds(hoverSounds.Value) { Enabled = { BindTarget = Enabled } });
}
[BackgroundDependencyLoader]