File size: 453 Bytes
809d458
66ed450
70b8e47
423b87b
142f91b
 
a6e7e8f
 
aa3e783
be26971
70b8e47
66ed450
1d701d3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import { writable } from 'svelte/store';
import { type ZoomTransform, zoomIdentity } from 'd3-zoom';


export const loadingState = writable<string>('');
export const isLoading = writable<boolean>(false);
export const isPrompting = writable<boolean>(false);
export const clickedPosition = writable<{ x: number; y: number }>();
export const showFrames = writable<boolean>(false);


export const currZoomTransform = writable<ZoomTransform>(zoomIdentity);