rotate defaults to off

This commit is contained in:
Adam 2023-04-22 00:03:58 -04:00
parent 0338308731
commit 24a56d7822

View file

@ -71,7 +71,7 @@ const options: MapOptions = {
function BadassMap(props: any): JSX.Element { function BadassMap(props: any): JSX.Element {
const [viewport, setViewport] = createSignal<Viewport>(INITIAL_VIEWPORT); const [viewport, setViewport] = createSignal<Viewport>(INITIAL_VIEWPORT);
const [rotate, setRotate] = createSignal<boolean>(true); const [rotate, setRotate] = createSignal<boolean>(false);
const [scatData, setScatData] = createSignal(SCAT_DATA); const [scatData, setScatData] = createSignal(SCAT_DATA);
const [arcData, setArcData] = createSignal(ARC_DATA); const [arcData, setArcData] = createSignal(ARC_DATA);
const toggleRotate = () => setRotate<boolean>(!rotate()); const toggleRotate = () => setRotate<boolean>(!rotate());