add sound to tab controls

This commit is contained in:
Jamie Taylor
2021-06-18 17:26:28 +09:00
parent 752d0a9f0b
commit 4feb7c848f
4 changed files with 6 additions and 3 deletions

View File

@ -76,7 +76,7 @@ namespace osu.Game.Graphics.UserInterface
Origin = Anchor.BottomLeft,
Anchor = Anchor.BottomLeft,
},
new HoverClickSounds()
new HoverClickSounds(HoverSampleSet.TabSelect)
};
Active.BindValueChanged(active => Text.Font = Text.Font.With(Typeface.Torus, weight: active.NewValue ? FontWeight.Bold : FontWeight.Medium), true);