From 4c8d6a77be6baaac0bd0ee739bb93728e6bfb883 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bart=C5=82omiej=20Dach?= Date: Thu, 4 Nov 2021 21:38:01 +0100 Subject: [PATCH] Fix labelled drawable descriptions not showing --- osu.Game/Graphics/UserInterfaceV2/LabelledDrawable.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osu.Game/Graphics/UserInterfaceV2/LabelledDrawable.cs b/osu.Game/Graphics/UserInterfaceV2/LabelledDrawable.cs index 95884f1515..1e6032c1d0 100644 --- a/osu.Game/Graphics/UserInterfaceV2/LabelledDrawable.cs +++ b/osu.Game/Graphics/UserInterfaceV2/LabelledDrawable.cs @@ -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();