1
0
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:
Dean Herbert 2018-06-21 10:12:12 +09:00
parent 2697579448
commit 4c068097c8

View File

@ -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
}, },
}, },
}; };