mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 17:43:05 +08:00
Add unique hover/select samples to settings sidebar buttons
This commit is contained in:
parent
703a8afb11
commit
7b1edff2b3
@ -15,6 +15,9 @@ namespace osu.Game.Graphics.UserInterface
|
|||||||
[Description("button")]
|
[Description("button")]
|
||||||
Button,
|
Button,
|
||||||
|
|
||||||
|
[Description("button-sidebar")]
|
||||||
|
ButtonSidebar,
|
||||||
|
|
||||||
[Description("toolbar")]
|
[Description("toolbar")]
|
||||||
Toolbar,
|
Toolbar,
|
||||||
|
|
||||||
|
@ -16,6 +16,11 @@ namespace osu.Game.Overlays.Settings
|
|||||||
[Resolved]
|
[Resolved]
|
||||||
protected OverlayColourProvider ColourProvider { get; private set; }
|
protected OverlayColourProvider ColourProvider { get; private set; }
|
||||||
|
|
||||||
|
protected SidebarButton()
|
||||||
|
: base(HoverSampleSet.ButtonSidebar)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
[BackgroundDependencyLoader]
|
[BackgroundDependencyLoader]
|
||||||
private void load()
|
private void load()
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user