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';
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} />
{#if shouldShowPalette }
<Palette/>
{/if}
+
+ <p>{JSON.stringify($widgets)}</p>
</div>
<style>