From c8e21a64bf34ad16f1fa3ce80cb31f0c16adddf2 Mon Sep 17 00:00:00 2001 From: E44 <129310925+programmer-44@users.noreply.github.com> Date: Mon, 19 Jan 2026 18:36:33 +0100 Subject: [PATCH] fix(control): fix warning in compile process --- control/frontend/src/lib/components/TextInput.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/control/frontend/src/lib/components/TextInput.svelte b/control/frontend/src/lib/components/TextInput.svelte index 9b41874..ef34fe6 100644 --- a/control/frontend/src/lib/components/TextInput.svelte +++ b/control/frontend/src/lib/components/TextInput.svelte @@ -30,7 +30,7 @@ enter_function?: (() => void) | null; } = $props(); - let focus_bg = get_shifted_color(bg, 100); + let focus_bg = $derived(get_shifted_color(bg, 100)); let focused: boolean = $state(false); let current_info = $state(''); let input_element: HTMLInputElement;