From bfc79ee4d3f9678caaafe78dccd1bed7bff7947d16e9bcd6052976e393998d87 Mon Sep 17 00:00:00 2001 From: copecone Date: Sat, 10 Oct 2026 22:25:45 +0900 Subject: [PATCH] Fix Label Generation Condition --- UI/Window/RenderConfigWindow.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/UI/Window/RenderConfigWindow.cs b/UI/Window/RenderConfigWindow.cs index b1597f8..2a0e17d 100644 --- a/UI/Window/RenderConfigWindow.cs +++ b/UI/Window/RenderConfigWindow.cs @@ -1527,10 +1527,10 @@ internal static class RenderConfigWindow Action? onChanged = null, bool generateLabel = true) { - if (generateLabel && !string.IsNullOrEmpty(labelKey)) + if (generateLabel) { var label = O5Factory.ControlText(ctx, colParent, 13f, noPad: true); - label.text = LocalizationManager.Get(labelKey); + label.text = string.IsNullOrEmpty(labelKey) ? "" : LocalizationManager.Get(labelKey); label.color = ctx.Theme.TextDim; LocalizedText.Bind(label, labelKey);