1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 15:26:07 +08:00

Add HoverClickSounds

This commit is contained in:
Andrei Zavatski 2020-02-24 23:37:46 +03:00
parent 7bc9a9b3d8
commit a020566b1e

View File

@ -60,12 +60,16 @@ namespace osu.Game.Overlays
: base(value)
{
Size = new Vector2(11);
Add(icon = new SpriteIcon
AddRange(new Drawable[]
{
Anchor = Anchor.Centre,
Origin = Anchor.Centre,
RelativeSizeAxes = Axes.Both,
FillMode = FillMode.Fit
icon = new SpriteIcon
{
Anchor = Anchor.Centre,
Origin = Anchor.Centre,
RelativeSizeAxes = Axes.Both,
FillMode = FillMode.Fit
},
new HoverClickSounds()
});
}