1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-19 13:20:16 +08:00

Add a hover sample type for SongSelect buttons

This commit is contained in:
Jamie Taylor
2021-04-09 22:40:21 +09:00
Unverified
parent cceb10cc85
commit 8a0da06e89
2 changed files with 6 additions and 1 deletions
@@ -53,6 +53,9 @@ namespace osu.Game.Graphics.UserInterface
Soft,
[Description("-toolbar")]
Toolbar
Toolbar,
[Description("-songselect")]
SongSelect
}
}
+2
View File
@@ -14,6 +14,7 @@ using osu.Game.Graphics.Sprites;
using osu.Game.Graphics.Containers;
using osu.Game.Input.Bindings;
using osu.Framework.Input.Bindings;
using osu.Game.Graphics.UserInterface;
namespace osu.Game.Screens.Select
{
@@ -65,6 +66,7 @@ namespace osu.Game.Screens.Select
private readonly Box light;
public FooterButton()
: base(HoverSampleSet.SongSelect)
{
AutoSizeAxes = Axes.Both;
Shear = SHEAR;