mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 09:43:10 +08:00
Change required child to use same structure as other use cases
This commit is contained in:
parent
2697579448
commit
4c068097c8
@ -133,11 +133,12 @@ namespace osu.Game.Screens.Multi.Screens.Match
|
|||||||
Masking = true,
|
Masking = true,
|
||||||
CornerRadius = corner_radius,
|
CornerRadius = corner_radius,
|
||||||
BorderThickness = 4,
|
BorderThickness = 4,
|
||||||
Alpha = 0f,
|
Alpha = 0,
|
||||||
Child = new Box // needs a child to show the border
|
Child = new Box // needs a child to show the border
|
||||||
{
|
{
|
||||||
RelativeSizeAxes = Axes.Both,
|
RelativeSizeAxes = Axes.Both,
|
||||||
Colour = Color4.Black.Opacity(0),
|
Alpha = 0,
|
||||||
|
AlwaysPresent = true
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user