Show different mouse cursor when zoomed in.

This commit is contained in:
Dermot Duffy
2023-05-06 13:14:04 -07:00
parent a0f2ed1bab
commit 2b1f0f5d85
2 changed files with 32 additions and 3 deletions
+3 -1
View File
@@ -75,7 +75,9 @@ export class Zoom {
maxScale: 10,
minScale: 1,
noBind: true,
cursor: 'auto',
// Do not force the cursor style (by default it will always show the
// 'move' type cursor whether or not it is zoomed in).
cursor: undefined,
});
const registerListeners = (