mirror of
https://github.com/ppy/osu.git
synced 2025-02-15 04:52:57 +08:00
Fix depth of header background.
Thanks to the order of adding to parent container, the depth value is actually not needed.
This commit is contained in:
parent
85684e5fee
commit
63259a3457
@ -162,8 +162,7 @@ namespace osu.Game.Overlays
|
||||
Add(headerBackground = new Box
|
||||
{
|
||||
Colour = Color4.Black,
|
||||
RelativeSizeAxes = Axes.X,
|
||||
Depth = float.MaxValue
|
||||
RelativeSizeAxes = Axes.X
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user