1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 05:02:55 +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[]
{ {
Anchor = Anchor.Centre, icon = new SpriteIcon
Origin = Anchor.Centre, {
RelativeSizeAxes = Axes.Both, Anchor = Anchor.Centre,
FillMode = FillMode.Fit Origin = Anchor.Centre,
RelativeSizeAxes = Axes.Both,
FillMode = FillMode.Fit
},
new HoverClickSounds()
}); });
} }