1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-15 12:02:55 +08:00

Adjust header image sizing

This commit is contained in:
Dean Herbert 2019-05-13 17:32:49 +09:00
parent d66a26cd11
commit 66df784e9a

View File

@ -30,7 +30,7 @@ namespace osu.Game.Overlays.Changelog
public event ListingSelectedEventHandler ListingSelected;
private const float cover_height = 280;
private const float cover_height = 150;
private const float title_height = 50;
private const float icon_size = 50;
private const float icon_margin = 20;
@ -40,12 +40,22 @@ namespace osu.Game.Overlays.Changelog
{
RelativeSizeAxes = Axes.X;
Height = cover_height;
Children = new Drawable[]
{
coverImage = new Sprite
new Container
{
RelativeSizeAxes = Axes.Both,
FillMode = FillMode.Fill,
RelativeSizeAxes = Axes.X,
Height = cover_height,
Masking = true,
Children = new Drawable[]
{
coverImage = new Sprite
{
RelativeSizeAxes = Axes.Both,
FillMode = FillMode.Fill,
},
}
},
new Container
{