Fix labelled drawable descriptions not showing

This commit is contained in:
Bartłomiej Dach 2021-11-04 21:38:01 +01:00
parent 9246adc349
commit 4c8d6a77be
No known key found for this signature in database
GPG Key ID: BCECCD4FA41F6497

View File

@ -168,7 +168,7 @@ namespace osu.Game.Graphics.UserInterfaceV2
{
descriptionText.Text = value;
if (value == default)
if (!string.IsNullOrEmpty(value.ToString()))
descriptionText.Show();
else
descriptionText.Hide();