From c30e688113e317ff6aca8a63f16b202cbfff3820 Mon Sep 17 00:00:00 2001 From: Ruben Beltran del Rio Date: Wed, 6 Jul 2022 22:49:06 +0200 Subject: Connect sensor to database --- src/routes/index.svelte | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/routes') diff --git a/src/routes/index.svelte b/src/routes/index.svelte index 2943d23..06c2357 100644 --- a/src/routes/index.svelte +++ b/src/routes/index.svelte @@ -4,6 +4,7 @@ import Palette from '$lib/components/palette.svelte'; import Hud from '$lib/components/hud.svelte'; import { modulo } from '$lib/math'; + import { widgets } from '$lib/stores/widgets'; import { coordinateLength, maxSize } from '$lib/config'; @@ -56,7 +57,7 @@ on:contextmenu={showPalette} on:mousedown={startDragging} on:mouseup={stopDragging} - on:mousemove={moveCanvas}> + on:mousemove={moveCanvas} > @@ -65,6 +66,8 @@ {#if shouldShowPalette } {/if} + +

{JSON.stringify($widgets)}