1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 14:17:26 +08:00

Make SetupCircularButton inherit OsuButton

This commit is contained in:
smoogipoo 2018-08-01 17:02:52 +09:00
parent b9814b64ed
commit 9eb47ae691

View File

@ -7,7 +7,7 @@ using osu.Game.Graphics.UserInterface;
namespace osu.Game.Screens.Edit.Screens.Setup.Components
{
public class SetupCircularButton : TriangleButton
public class SetupCircularButton : OsuButton
{
private const float width = 125;
private const float height = 30;
@ -20,7 +20,6 @@ namespace osu.Game.Screens.Edit.Screens.Setup.Components
[BackgroundDependencyLoader]
private void load()
{
Triangles.Alpha = 0;
Content.CornerRadius = 15;
}
}