We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2737956 commit 7077c39Copy full SHA for 7077c39
src/map.tsx
@@ -80,7 +80,9 @@ export function Map(initial: MapProps) {
80
);
81
createEffect(() => {
82
const canvas = map()?.getCanvas();
83
- if (canvas) canvas.style.cursor = (props.cursor ?? interactive()) ? "grab" : "auto";
+ if (canvas && interactive()) {
84
+ canvas.style.cursor = props.cursor ?? "unset";
85
+ }
86
});
87
88
0 commit comments