mirror of
https://github.com/ppy/osu.git
synced 2025-02-13 16:02:58 +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
|
namespace osu.Game.Screens.Edit.Screens.Setup.Components
|
||||||
{
|
{
|
||||||
public class SetupCircularButton : TriangleButton
|
public class SetupCircularButton : OsuButton
|
||||||
{
|
{
|
||||||
private const float width = 125;
|
private const float width = 125;
|
||||||
private const float height = 30;
|
private const float height = 30;
|
||||||
@ -20,7 +20,6 @@ namespace osu.Game.Screens.Edit.Screens.Setup.Components
|
|||||||
[BackgroundDependencyLoader]
|
[BackgroundDependencyLoader]
|
||||||
private void load()
|
private void load()
|
||||||
{
|
{
|
||||||
Triangles.Alpha = 0;
|
|
||||||
Content.CornerRadius = 15;
|
Content.CornerRadius = 15;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user