Fix cursor not changing when hovering over objects
This commit is contained in:
1 parent
f4c1c27f21
commit
401dad3170
1 file changed
+2
@@ -217,9 +217,11 @@ function tooltipSetup(){
|
|||||||
tooltip.style.transform = `translate(${tooltipX}px, ${tooltipY}px)`;
|
tooltip.style.transform = `translate(${tooltipX}px, ${tooltipY}px)`;
|
||||||
tooltip.style.display = '';
|
tooltip.style.display = '';
|
||||||
mapCanvas.style.cursor = 'crosshair';
|
mapCanvas.style.cursor = 'crosshair';
|
||||||
|
dynCanvas.style.cursor = 'crosshair';
|
||||||
}else{
|
}else{
|
||||||
tooltip.style.display = 'none';
|
tooltip.style.display = 'none';
|
||||||
mapCanvas.style.cursor = '';
|
mapCanvas.style.cursor = '';
|
||||||
|
dynCanvas.style.cursor = '';
|
||||||
}
|
}
|
||||||
isNavigating = false;
|
isNavigating = false;
|
||||||
tooltipDirty = false;
|
tooltipDirty = false;
|
||||||
|
|||||||
Reference in new issue
Block a user