mirror of
https://github.com/ppy/osu.git
synced 2024-11-14 18:47:27 +08:00
Merge pull request #1384 from EVAST9919/simplify-letterboxing
Simplify gradient usage in Letterbox Overlay
This commit is contained in:
commit
9eb220af89
@ -31,13 +31,7 @@ namespace osu.Game.Screens.Play.BreaksOverlay
|
|||||||
Child = new Box
|
Child = new Box
|
||||||
{
|
{
|
||||||
RelativeSizeAxes = Axes.Both,
|
RelativeSizeAxes = Axes.Both,
|
||||||
Colour = new ColourInfo
|
Colour = ColourInfo.GradientVertical(Color4.Black, transparent_black),
|
||||||
{
|
|
||||||
TopLeft = Color4.Black,
|
|
||||||
TopRight = Color4.Black,
|
|
||||||
BottomLeft = transparent_black,
|
|
||||||
BottomRight = transparent_black,
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
new Container
|
new Container
|
||||||
@ -49,13 +43,7 @@ namespace osu.Game.Screens.Play.BreaksOverlay
|
|||||||
Child = new Box
|
Child = new Box
|
||||||
{
|
{
|
||||||
RelativeSizeAxes = Axes.Both,
|
RelativeSizeAxes = Axes.Both,
|
||||||
Colour = new ColourInfo
|
Colour = ColourInfo.GradientVertical(transparent_black, Color4.Black),
|
||||||
{
|
|
||||||
TopLeft = transparent_black,
|
|
||||||
TopRight = transparent_black,
|
|
||||||
BottomLeft = Color4.Black,
|
|
||||||
BottomRight = Color4.Black,
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user