mirror of
https://github.com/ppy/osu.git
synced 2024-11-14 15:57:24 +08:00
Add a hover sample type for SongSelect buttons
This commit is contained in:
parent
cceb10cc85
commit
8a0da06e89
@ -53,6 +53,9 @@ namespace osu.Game.Graphics.UserInterface
|
|||||||
Soft,
|
Soft,
|
||||||
|
|
||||||
[Description("-toolbar")]
|
[Description("-toolbar")]
|
||||||
Toolbar
|
Toolbar,
|
||||||
|
|
||||||
|
[Description("-songselect")]
|
||||||
|
SongSelect
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -14,6 +14,7 @@ using osu.Game.Graphics.Sprites;
|
|||||||
using osu.Game.Graphics.Containers;
|
using osu.Game.Graphics.Containers;
|
||||||
using osu.Game.Input.Bindings;
|
using osu.Game.Input.Bindings;
|
||||||
using osu.Framework.Input.Bindings;
|
using osu.Framework.Input.Bindings;
|
||||||
|
using osu.Game.Graphics.UserInterface;
|
||||||
|
|
||||||
namespace osu.Game.Screens.Select
|
namespace osu.Game.Screens.Select
|
||||||
{
|
{
|
||||||
@ -65,6 +66,7 @@ namespace osu.Game.Screens.Select
|
|||||||
private readonly Box light;
|
private readonly Box light;
|
||||||
|
|
||||||
public FooterButton()
|
public FooterButton()
|
||||||
|
: base(HoverSampleSet.SongSelect)
|
||||||
{
|
{
|
||||||
AutoSizeAxes = Axes.Both;
|
AutoSizeAxes = Axes.Both;
|
||||||
Shear = SHEAR;
|
Shear = SHEAR;
|
||||||
|
Loading…
Reference in New Issue
Block a user