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:
2026-02-07 11:12:13 +02:00
parent 7c7fc8cbb9
commit 960e63e3db
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;