1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-20 02:39:53 +08:00

Use AutoSizeAxes

This commit is contained in:
C0D3 M4513R
2022-11-07 15:22:20 +01:00
Unverified
parent 28ab092b6f
commit ab650d8a1b
@@ -64,6 +64,7 @@ namespace osu.Game.Skinning.Components
public BeatmapInfoDrawable()
{
AutoSizeAxes = Axes.Both;
InternalChildren = new Drawable[]
{
text = new OsuSpriteText
@@ -104,8 +105,6 @@ namespace osu.Game.Skinning.Components
}
text.Text = newText;
Width = text.Width;
Height = text.Height;
}
public void UpdateBeatmapContent(WorkingBeatmap workingBeatmap)