diff --git a/src/lib/components/ItemList.svelte b/src/lib/components/ItemList.svelte index 9587788..be00ad3 100644 --- a/src/lib/components/ItemList.svelte +++ b/src/lib/components/ItemList.svelte @@ -151,7 +151,7 @@ class="pl-1 grid grid-cols-24 w-full {$settings.listSize} hover:!variant-ghost-primary focus:!variant-ghost-primary" class:!variant-soft-primary={selected === item} class:active={selected === item} - on:click={() => (selected = item)} + on:click={() => (selected !== item ? (selected = item) : null)} > {#each columns .filter((col) => col.enabled)