X-Git-Url: https://git.r.bdr.sh/rbdr/canvas/blobdiff_plain/2df937df1372359babd123d1361e702a1a4b8168..c30e688113e317ff6aca8a63f16b202cbfff3820:/src/routes/index.svelte?ds=inline 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)}