From dc4db405d2991d3ec6a114f3b08d3fccd057d3ee Mon Sep 17 00:00:00 2001
From: Wolfgang Müller
Date: Thu, 13 Feb 2025 17:52:16 +0100
Subject: frontend: Migrate to Svelte 5

---
 frontend/src/lib/selection/SelectionOverlay.svelte | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

(limited to 'frontend/src/lib/selection/SelectionOverlay.svelte')

diff --git a/frontend/src/lib/selection/SelectionOverlay.svelte b/frontend/src/lib/selection/SelectionOverlay.svelte
index 04ff382..97421b0 100644
--- a/frontend/src/lib/selection/SelectionOverlay.svelte
+++ b/frontend/src/lib/selection/SelectionOverlay.svelte
@@ -1,7 +1,11 @@
 <script lang="ts">
-	export let selected: boolean;
-	export let position: 'top' | 'right' | 'left' | 'bottom';
-	export let centered = false;
+	interface Props {
+		selected: boolean;
+		position: 'top' | 'right' | 'left' | 'bottom';
+		centered?: boolean;
+	}
+
+	let { selected, position, centered = false }: Props = $props();
 </script>
 
 {#if selected}
@@ -9,7 +13,7 @@
 		class:items-center={centered}
 		class="{position} pointer-events-none absolute z-[1] flex bg-emerald-700/95"
 	>
-		<span class="icon-base icon-[material-symbols--check] text-[2rem]" />
+		<span class="icon-base icon-[material-symbols--check] text-[2rem]"></span>
 	</div>
 {/if}
 
-- 
cgit v1.2.3-2-gb3c3

