From 1bfb3f53473f375035fb51825017a643b65e7870 Mon Sep 17 00:00:00 2001 From: hz Date: Sun, 19 Jul 2026 00:36:05 -0500 Subject: [PATCH] Fix dashboard label shadowing warning --- scripts/ui/dashboard_screen.gd | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/ui/dashboard_screen.gd b/scripts/ui/dashboard_screen.gd index 88b1fac..845ec99 100644 --- a/scripts/ui/dashboard_screen.gd +++ b/scripts/ui/dashboard_screen.gd @@ -177,10 +177,10 @@ func _render_systems(systems_value: Array) -> void: for item in displayed: var row := HBoxContainer.new() row.add_theme_constant_override("separation", 10) - var name := _label(str(item.get("system", "General")), 13, Brand.text_color(UIThemeService.is_dark_mode())) - name.custom_minimum_size.x = 190 - name.text_overrun_behavior = TextServer.OVERRUN_TRIM_ELLIPSIS - row.add_child(name) + var system_name_label := _label(str(item.get("system", "General")), 13, Brand.text_color(UIThemeService.is_dark_mode())) + system_name_label.custom_minimum_size.x = 190 + system_name_label.text_overrun_behavior = TextServer.OVERRUN_TRIM_ELLIPSIS + row.add_child(system_name_label) var bar := ProgressBar.new() bar.show_percentage = false bar.value = int(item.get("accuracy", 0))