Fix some components using wrong sample set

This commit is contained in:
Jamie Taylor
2022-11-03 17:47:29 +09:00
parent f1c17129eb
commit 59bbd9c460
2 changed files with 3 additions and 0 deletions

View File

@ -41,6 +41,7 @@ namespace osu.Game.Graphics.UserInterface
private readonly LoadingSpinner loading; private readonly LoadingSpinner loading;
protected LoadingButton() protected LoadingButton()
: base(HoverSampleSet.Button)
{ {
Add(loading = new LoadingSpinner Add(loading = new LoadingSpinner
{ {

View File

@ -12,6 +12,7 @@ using osu.Framework.Graphics.Shapes;
using osu.Game.Graphics; using osu.Game.Graphics;
using osu.Game.Graphics.Containers; using osu.Game.Graphics.Containers;
using osu.Game.Graphics.Sprites; using osu.Game.Graphics.Sprites;
using osu.Game.Graphics.UserInterface;
using osu.Game.Resources.Localisation.Web; using osu.Game.Resources.Localisation.Web;
namespace osu.Game.Overlays.Comments namespace osu.Game.Overlays.Comments
@ -38,6 +39,7 @@ namespace osu.Game.Overlays.Comments
private readonly Box background; private readonly Box background;
public CancelButton() public CancelButton()
: base(HoverSampleSet.Button)
{ {
AutoSizeAxes = Axes.Both; AutoSizeAxes = Axes.Both;
Child = new CircularContainer Child = new CircularContainer