mirror of
https://github.com/ppy/osu
synced 2024-12-24 15:53:37 +00:00
Fix labelled drawable descriptions not showing
This commit is contained in:
parent
9246adc349
commit
4c8d6a77be
@ -168,7 +168,7 @@ namespace osu.Game.Graphics.UserInterfaceV2
|
|||||||
{
|
{
|
||||||
descriptionText.Text = value;
|
descriptionText.Text = value;
|
||||||
|
|
||||||
if (value == default)
|
if (!string.IsNullOrEmpty(value.ToString()))
|
||||||
descriptionText.Show();
|
descriptionText.Show();
|
||||||
else
|
else
|
||||||
descriptionText.Hide();
|
descriptionText.Hide();
|
||||||
|
Loading…
Reference in New Issue
Block a user