1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 06:52:56 +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) : base(value)
{ {
Size = new Vector2(11); Size = new Vector2(11);
Add(icon = new SpriteIcon AddRange(new Drawable[]
{
icon = new SpriteIcon
{ {
Anchor = Anchor.Centre, Anchor = Anchor.Centre,
Origin = Anchor.Centre, Origin = Anchor.Centre,
RelativeSizeAxes = Axes.Both, RelativeSizeAxes = Axes.Both,
FillMode = FillMode.Fit FillMode = FillMode.Fit
},
new HoverClickSounds()
}); });
} }