From 64db403cd123e8c8032f7ddcec17a4528f00afa5 Mon Sep 17 00:00:00 2001 From: Adam <24621027+WhiteDopeOnPunk@users.noreply.github.com> Date: Sat, 15 Apr 2023 06:35:25 -0400 Subject: [PATCH] rotate toggle --- lightning/src/components/BadassMap.tsx | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/lightning/src/components/BadassMap.tsx b/lightning/src/components/BadassMap.tsx index 9524110..afb2aa7 100644 --- a/lightning/src/components/BadassMap.tsx +++ b/lightning/src/components/BadassMap.tsx @@ -13,7 +13,8 @@ export default function BadassMap() { antialias: true, } as Viewport); - const [rotate, toggleRotate] = createSignal(true) + const [rotate, setRotate] = createSignal(true) + const [rotateReverse, setRotateReverse] = createSignal(true) return ( setViewport(evt)} > - + + @@ -39,7 +44,7 @@ export default function BadassMap() {