mirror of https://github.com/ppy/osu
Merge pull request #3568 from smoogipoo/fix-beatmap-details
Fix beatmap details not displaying
This commit is contained in:
commit
2babdc079c
|
@ -327,11 +327,6 @@ public MetadataSection(string title)
|
|||
TextSize = 14,
|
||||
},
|
||||
},
|
||||
textFlow = new OsuTextFlowContainer
|
||||
{
|
||||
RelativeSizeAxes = Axes.X,
|
||||
AutoSizeAxes = Axes.Y,
|
||||
},
|
||||
},
|
||||
};
|
||||
}
|
||||
|
@ -350,6 +345,8 @@ public string Text
|
|||
}
|
||||
}
|
||||
|
||||
public override bool IsPresent => base.IsPresent || textFlow == null; // Visibility is updated in the LoadComponentAsync callback
|
||||
|
||||
private void setTextAsync(string text)
|
||||
{
|
||||
LoadComponentAsync(new OsuTextFlowContainer(s => s.TextSize = 14)
|
||||
|
|
Loading…
Reference in New Issue