mirror of
https://github.com/osukey/osukey.git
synced 2025-08-07 00:23:59 +09:00
Simplify size specifications
This commit is contained in:
@ -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"),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user