This commit is contained in:
Adam 2023-04-22 01:28:32 -04:00
parent 00769a639d
commit 4e84f0da1d

View file

@ -41,16 +41,16 @@ function BadassMap(props: any): JSX.Element {
async function eventHandler(event: any) { async function eventHandler(event: any) {
switch (event.type) { switch (event.type) {
case 'mousedown': case 'mousedown':
setRotate(false) // setRotate(false)
break; break;
case 'zoomstart': case 'zoomstart':
setRotate(false) // setRotate(false)
break; break;
case 'touchstart': case 'touchstart':
setRotate(false) // setRotate(false)
break; break;
case 'drag': case 'drag':
setRotate(false) // setRotate(false)
break; break;
}; };
}; };