1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-25 22:40:38 +08:00

Fix incorrectly named variable

This commit is contained in:
Dean Herbert
2025-06-12 17:01:55 +09:00
Unverified
parent 21eb4a6260
commit f3f137dbd4
3 changed files with 9 additions and 9 deletions
+2 -2
View File
@@ -100,7 +100,7 @@ namespace osu.Game.Screens.Footer
{
Anchor = Anchor.BottomLeft,
Origin = Anchor.BottomLeft,
Y = ScreenFooterButton.Y_OFFSET,
Y = ScreenFooterButton.CORNER_RADIUS,
Direction = FillDirection.Horizontal,
Spacing = new Vector2(7, 0),
AutoSizeAxes = Axes.Both,
@@ -123,7 +123,7 @@ namespace osu.Game.Screens.Footer
hiddenButtonsContainer = new Container<ScreenFooterButton>
{
Margin = new MarginPadding { Left = OsuGame.SCREEN_EDGE_MARGIN + ScreenBackButton.BUTTON_WIDTH + padding },
Y = ScreenFooterButton.Y_OFFSET,
Y = ScreenFooterButton.CORNER_RADIUS,
Anchor = Anchor.BottomLeft,
Origin = Anchor.BottomLeft,
AutoSizeAxes = Axes.Both,
@@ -25,7 +25,7 @@ namespace osu.Game.Screens.Footer
{
public partial class ScreenFooterButton : OsuClickableContainer, IKeyBindingHandler<GlobalAction>
{
public const int Y_OFFSET = 10;
public const int CORNER_RADIUS = 10;
protected const int BUTTON_HEIGHT = 75;
protected const int BUTTON_WIDTH = 116;
@@ -91,7 +91,7 @@ namespace osu.Game.Screens.Footer
},
Shear = OsuGame.SHEAR,
Masking = true,
CornerRadius = 10,
CornerRadius = CORNER_RADIUS,
RelativeSizeAxes = Axes.Both,
Children = new Drawable[]
{
@@ -138,7 +138,7 @@ namespace osu.Game.Screens.Footer
Shear = -OsuGame.SHEAR,
Anchor = Anchor.BottomCentre,
Origin = Anchor.Centre,
Y = -Y_OFFSET,
Y = -CORNER_RADIUS,
Size = new Vector2(100, 5),
Masking = true,
CornerRadius = 3,
@@ -86,7 +86,7 @@ namespace osu.Game.Screens.SelectV2
Depth = float.MaxValue,
Origin = Anchor.BottomLeft,
Shear = OsuGame.SHEAR,
CornerRadius = Y_OFFSET,
CornerRadius = CORNER_RADIUS,
Size = new Vector2(BUTTON_WIDTH, bar_height),
Masking = true,
EdgeEffect = new EdgeEffectParameters
@@ -122,7 +122,7 @@ namespace osu.Game.Screens.SelectV2
},
modContainer = new Container
{
CornerRadius = Y_OFFSET,
CornerRadius = CORNER_RADIUS,
RelativeSizeAxes = Axes.Both,
Width = mod_display_portion,
Masking = true,
@@ -304,7 +304,7 @@ namespace osu.Game.Screens.SelectV2
private void load()
{
AutoSizeAxes = Axes.Both;
CornerRadius = Y_OFFSET;
CornerRadius = CORNER_RADIUS;
Masking = true;
InternalChildren = new Drawable[]
@@ -346,7 +346,7 @@ namespace osu.Game.Screens.SelectV2
Depth = float.MaxValue;
Origin = Anchor.BottomLeft;
Shear = OsuGame.SHEAR;
CornerRadius = Y_OFFSET;
CornerRadius = CORNER_RADIUS;
AutoSizeAxes = Axes.X;
Height = bar_height;
Masking = true;