diff options
Diffstat (limited to 'src/routes')
| -rw-r--r-- | src/routes/index.svelte | 5 |
1 files changed, 4 insertions, 1 deletions
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} > <Sensor x={x} y={y} /> <Background x={x} y={y} /> @@ -65,6 +66,8 @@ {#if shouldShowPalette } <Palette/> {/if} + + <p>{JSON.stringify($widgets)}</p> </div> <style> |