mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 03:22:54 +08:00
Change RevertToDefaultButton
and BackButton
to use Default
sampleset instead
This commit is contained in:
parent
6dc4dbde13
commit
6b28f85615
@ -13,7 +13,6 @@ using osu.Framework.Input.Events;
|
||||
using osu.Framework.Localisation;
|
||||
using osu.Game.Graphics;
|
||||
using osu.Game.Graphics.Containers;
|
||||
using osu.Game.Graphics.UserInterface;
|
||||
using osu.Game.Localisation;
|
||||
using osuTK;
|
||||
|
||||
@ -56,11 +55,6 @@ namespace osu.Game.Overlays
|
||||
}
|
||||
}
|
||||
|
||||
public RevertToDefaultButton()
|
||||
: base(HoverSampleSet.Button)
|
||||
{
|
||||
}
|
||||
|
||||
[BackgroundDependencyLoader]
|
||||
private void load()
|
||||
{
|
||||
|
@ -14,8 +14,8 @@ namespace osu.Game.Overlays.Settings
|
||||
[Resolved]
|
||||
protected OverlayColourProvider ColourProvider { get; private set; } = null!;
|
||||
|
||||
protected SidebarButton()
|
||||
: base(HoverSampleSet.ButtonSidebar)
|
||||
protected SidebarButton(HoverSampleSet? hoverSounds = HoverSampleSet.ButtonSidebar)
|
||||
: base(hoverSounds)
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -9,6 +9,7 @@ using osu.Framework.Graphics.Containers;
|
||||
using osu.Framework.Graphics.Sprites;
|
||||
using osu.Game.Graphics;
|
||||
using osu.Game.Graphics.Sprites;
|
||||
using osu.Game.Graphics.UserInterface;
|
||||
using osu.Game.Overlays.Settings;
|
||||
using osuTK;
|
||||
|
||||
@ -38,6 +39,11 @@ namespace osu.Game.Overlays
|
||||
{
|
||||
private Container content;
|
||||
|
||||
public BackButton()
|
||||
: base(HoverSampleSet.Default)
|
||||
{
|
||||
}
|
||||
|
||||
[BackgroundDependencyLoader]
|
||||
private void load()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user