Combine TriangleButton and RoundedButton classes

This commit is contained in:
Dean Herbert
2022-11-24 16:26:57 +09:00
parent bea2acc60e
commit 53b03df93d
27 changed files with 60 additions and 70 deletions

View File

@ -22,6 +22,7 @@ using osu.Game.Database;
using osu.Game.Graphics;
using osu.Game.Graphics.Sprites;
using osu.Game.Graphics.UserInterface;
using osu.Game.Graphics.UserInterfaceV2;
using osu.Game.Input;
using osu.Game.Input.Bindings;
using osu.Game.Resources.Localisation.Web;
@ -446,7 +447,7 @@ namespace osu.Game.Overlays.Settings.Sections.Input
isDefault.Value = bindings.Select(b => b.KeyCombination).SequenceEqual(Defaults);
}
private class CancelButton : TriangleButton
private class CancelButton : RoundedButton
{
public CancelButton()
{
@ -455,7 +456,7 @@ namespace osu.Game.Overlays.Settings.Sections.Input
}
}
public class ClearButton : DangerousTriangleButton
public class ClearButton : DangerousRoundedButton
{
public ClearButton()
{