From 32fcc461cd43c8907df5e306d520bb671307eab1 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Thu, 7 Nov 2024 21:16:25 -0800 Subject: svelte 5 --- src/components/Items.svelte | 53 +++++++++++++++++++++++++++------------------ 1 file changed, 32 insertions(+), 21 deletions(-) (limited to 'src/components/Items.svelte') diff --git a/src/components/Items.svelte b/src/components/Items.svelte index db5dedc1..a7b4fe1a 100644 --- a/src/components/Items.svelte +++ b/src/components/Items.svelte @@ -1,4 +1,6 @@ - + {#if deleting} @@ -106,21 +117,21 @@
{#each items as i (i.id)}
{}} + onclick={stopPropagation(() => {})} class="sm:hidden" - on:mousedown={startDrag} - on:touchstart={startDrag} - on:keydown={handleKeyDown} + onmousedown={startDrag} + ontouchstart={startDrag} + onkeydown={handleKeyDown} > @@ -194,7 +205,7 @@ {#if i.quantity} @@ -213,7 +224,7 @@ {#if total > 0}