Add fallback-to-default logic for HoverSounds and HoverClickSounds

This commit is contained in:
Jamie Taylor
2021-06-11 20:14:35 +09:00
parent 15d3b4444d
commit 4f80a3b66d
3 changed files with 4 additions and 4 deletions

View File

@ -49,7 +49,7 @@ namespace osu.Game.Graphics.UserInterface
protected Box Background;
protected SpriteText SpriteText;
public OsuButton(HoverSampleSet? hoverSounds = HoverSampleSet.Loud)
public OsuButton(HoverSampleSet? hoverSounds = HoverSampleSet.Default)
{
Height = 40;