mirror of
https://github.com/osukey/osukey.git
synced 2025-05-17 03:27:21 +09:00
Privatise constants
This commit is contained in:
parent
3ee1353976
commit
78cde95132
@ -21,9 +21,9 @@ namespace osu.Game.Screens.Edit.Screens.Setup.Components
|
|||||||
private readonly Box fill;
|
private readonly Box fill;
|
||||||
private readonly OsuSpriteText label;
|
private readonly OsuSpriteText label;
|
||||||
|
|
||||||
public const float DEFAULT_LABEL_TEXT_SIZE = 14;
|
private const float default_label_text_size = 14;
|
||||||
public const float SIZE_X = 125;
|
private const float size_x = 125;
|
||||||
public const float SIZE_Y = 30;
|
private const float size_y = 30;
|
||||||
|
|
||||||
public event Action ButtonClicked;
|
public event Action ButtonClicked;
|
||||||
|
|
||||||
@ -46,7 +46,7 @@ namespace osu.Game.Screens.Edit.Screens.Setup.Components
|
|||||||
|
|
||||||
public SetupCircularButton()
|
public SetupCircularButton()
|
||||||
{
|
{
|
||||||
Size = new Vector2(SIZE_X, SIZE_Y);
|
Size = new Vector2(size_x, size_y);
|
||||||
|
|
||||||
Children = new Drawable[]
|
Children = new Drawable[]
|
||||||
{
|
{
|
||||||
@ -60,7 +60,7 @@ namespace osu.Game.Screens.Edit.Screens.Setup.Components
|
|||||||
Anchor = Anchor.Centre,
|
Anchor = Anchor.Centre,
|
||||||
Origin = Anchor.Centre,
|
Origin = Anchor.Centre,
|
||||||
Colour = Color4.White,
|
Colour = Color4.White,
|
||||||
TextSize = DEFAULT_LABEL_TEXT_SIZE,
|
TextSize = default_label_text_size,
|
||||||
Font = @"Exo2.0-Bold",
|
Font = @"Exo2.0-Bold",
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user