mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 16:59:53 +09:00
Add hover/select sounds to directory/file selector components
This commit is contained in:
@ -9,6 +9,7 @@ using osu.Framework.Graphics.Shapes;
|
||||
using osu.Framework.Graphics.Sprites;
|
||||
using osu.Framework.Graphics.UserInterface;
|
||||
using osu.Game.Graphics.Sprites;
|
||||
using osu.Game.Graphics.UserInterface;
|
||||
|
||||
namespace osu.Game.Graphics.UserInterfaceV2
|
||||
{
|
||||
@ -25,9 +26,13 @@ namespace osu.Game.Graphics.UserInterfaceV2
|
||||
Flow.AutoSizeAxes = Axes.X;
|
||||
Flow.Height = OsuDirectorySelector.ITEM_HEIGHT;
|
||||
|
||||
AddInternal(new Background
|
||||
AddRangeInternal(new Drawable[]
|
||||
{
|
||||
Depth = 1
|
||||
new Background
|
||||
{
|
||||
Depth = 1
|
||||
},
|
||||
new HoverClickSounds(HoverSampleSet.Soft)
|
||||
});
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user