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:
parent
b9814b64ed
commit
9eb47ae691
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user