test
This commit is contained in:
parent
00769a639d
commit
4e84f0da1d
1 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue