diff --git a/frontend/src/lib/components/HandwriteCanvas.svelte b/frontend/src/lib/components/HandwriteCanvas.svelte index 0698719..72dc9e9 100644 --- a/frontend/src/lib/components/HandwriteCanvas.svelte +++ b/frontend/src/lib/components/HandwriteCanvas.svelte @@ -181,10 +181,9 @@ } function isPenLike(e: PointerEvent): boolean { - // pen / mouse / touch 모두 stroke 허용. iPad Apple Pencil 이 'pen' 으로 안 들어오는 - // 케이스 보고됨 (브라우저/OS 버전에 따라). 우선 입력 가능성을 넓히고, palm rejection 은 - // Phase 2 에서 동시 다중 pointer 거부 등 다른 방식으로 처리. - return e.pointerType === 'pen' || e.pointerType === 'mouse' || e.pointerType === 'touch'; + // 사용자 요청: Apple Pencil ('pen') 만 인식. 손가락 ('touch') 거부 — palm rejection. + // 데스크톱 테스트용 'mouse' 는 허용. + return e.pointerType === 'pen' || e.pointerType === 'mouse'; } // ── 지우개 hit-test ── @@ -412,9 +411,9 @@ }); -