mirror of
https://github.com/ppy/osu.git
synced 2026-05-20 01:59:54 +08:00
Use AutoSizeAxes
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user