1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-12 15:22:55 +08:00

Add unique hover/select samples to settings sidebar buttons

This commit is contained in:
Jamie Taylor 2022-10-21 18:06:38 +09:00
parent 703a8afb11
commit 7b1edff2b3
No known key found for this signature in database
GPG Key ID: 2ACFA8B6370B8C8C
2 changed files with 8 additions and 0 deletions

View File

@ -15,6 +15,9 @@ namespace osu.Game.Graphics.UserInterface
[Description("button")]
Button,
[Description("button-sidebar")]
ButtonSidebar,
[Description("toolbar")]
Toolbar,

View File

@ -16,6 +16,11 @@ namespace osu.Game.Overlays.Settings
[Resolved]
protected OverlayColourProvider ColourProvider { get; private set; }
protected SidebarButton()
: base(HoverSampleSet.ButtonSidebar)
{
}
[BackgroundDependencyLoader]
private void load()
{