Tighten TimeSpinner spacing and fix build warnings

Reduce gap between numbers and h/m unit labels in the workday
schedule spinners. Remove unused parse_hour function and fix
Svelte state_referenced_locally warning in BreakScreen.
This commit is contained in:
Your Name
2026-02-07 11:12:13 +02:00
parent d93d231a45
commit b01dbd6c0b
3 changed files with 5 additions and 13 deletions

View File

@@ -13,7 +13,7 @@
let { standalone = false }: Props = $props();
const appWindow = standalone ? getCurrentWebviewWindow() : null;
const appWindow = $derived(standalone ? getCurrentWebviewWindow() : null);
let currentActivity = $state<BreakActivity>(pickRandomActivity());
let activityCycleTimer: ReturnType<typeof setInterval> | null = null;