diff --git a/frontend/src/lib/components/HandwriteCanvas.svelte b/frontend/src/lib/components/HandwriteCanvas.svelte index 79fb139..6fbc92e 100644 --- a/frontend/src/lib/components/HandwriteCanvas.svelte +++ b/frontend/src/lib/components/HandwriteCanvas.svelte @@ -1,47 +1,37 @@
- -
- + +
- +
{ if (inflight && e.pointerId === activePointerId) endStroke(e); }} + onpointerleave={endStroke} oncontextmenu={(e) => e.preventDefault()} + onselectstart={(e) => e.preventDefault()} class="block" style="touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; cursor: {tool === 'eraser' ? 'cell' : 'crosshair'};" >