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.display = '';
|
||||
mapCanvas.style.cursor = 'crosshair';
|
||||
dynCanvas.style.cursor = 'crosshair';
|
||||
}else{
|
||||
tooltip.style.display = 'none';
|
||||
mapCanvas.style.cursor = '';
|
||||
dynCanvas.style.cursor = '';
|
||||
}
|
||||
isNavigating = false;
|
||||
tooltipDirty = false;
|
||||
|
||||
Reference in new issue
Block a user