mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 06:52:56 +08:00
Add HoverClickSounds
This commit is contained in:
parent
7bc9a9b3d8
commit
a020566b1e
@ -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()
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user