Skip to content

Commit 40eada4

Browse files
committed
fix: align pencil cursor hotspot with tip
1 parent c8179ec commit 40eada4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib/components/PDFViewer.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -509,8 +509,8 @@ function handlePointerUp(event: PointerEvent) {
509509
cursorsLoaded = false;
510510
}
511511
}
512-
513-
const pencilCursor = `url('/cursors/pencil.svg') 1 9, crosshair`;
512+
513+
const pencilCursor = `url('/cursors/pencil.svg') 2 26, crosshair`;
514514
const eraserCursor = `url('/cursors/eraser.svg') 16 16, crosshair`;
515515
516516
// Alternative: using built-in cursors as backup

0 commit comments

Comments
 (0)