mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 19:22:54 +08:00
Simplify size specifications
This commit is contained in:
parent
c978e68742
commit
c3a8676932
@ -144,8 +144,7 @@ namespace osu.Game.Overlays.Changelog
|
|||||||
{
|
{
|
||||||
Anchor = Anchor.TopCentre,
|
Anchor = Anchor.TopCentre,
|
||||||
Origin = Anchor.TopCentre,
|
Origin = Anchor.TopCentre,
|
||||||
Width = heart_size,
|
Size = new Vector2(heart_size),
|
||||||
Height = heart_size,
|
|
||||||
Margin = new MarginPadding { Top = 70 },
|
Margin = new MarginPadding { Top = 70 },
|
||||||
Masking = true,
|
Masking = true,
|
||||||
EdgeEffect = new EdgeEffectParameters
|
EdgeEffect = new EdgeEffectParameters
|
||||||
@ -157,8 +156,7 @@ namespace osu.Game.Overlays.Changelog
|
|||||||
},
|
},
|
||||||
Child = new Sprite
|
Child = new Sprite
|
||||||
{
|
{
|
||||||
Width = heart_size,
|
Size = new Vector2(heart_size),
|
||||||
Height = heart_size,
|
|
||||||
Texture = textures.Get(@"Online/supporter-heart"),
|
Texture = textures.Get(@"Online/supporter-heart"),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user