mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 15:47:26 +08:00
Use AutoSizeAxes
This commit is contained in:
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)
|
||||
|
Loading…
Reference in New Issue
Block a user