From 8666bfdcfacae7d18085daeb914bb65cba383cb5 Mon Sep 17 00:00:00 2001 From: umsangdon Date: Sun, 30 Aug 2026 21:20:26 +0900 Subject: [PATCH] =?UTF-8?q?revert(B07):=20=EC=A0=80=EC=A7=80=EC=97=B0=20?= =?UTF-8?q?=EC=BA=94=EB=B2=84=EC=8A=A4=EB=A5=BC=20=EB=90=98=EB=8F=8C?= =?UTF-8?q?=EB=A6=B0=EB=8B=A4=20=E2=80=94=20=EC=9D=BC=EB=B6=80=20=EC=8A=A4?= =?UTF-8?q?=EB=83=85=EC=9D=B4=20=EC=95=88=20=EA=B1=B8=EB=A0=B8=EB=8B=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit desynchronized+alpha:false로 합성 큐를 건너뛰게 했더니 일부 스냅이 동작하지 않는다는 지적. 커서 체감보다 스냅 정확도가 먼저다. 화면 캔버스를 원래 getContext('2d')로 되돌린다. Co-Authored-By: Claude Opus 5 (1M context) --- B07_DesignDetail/openwebcad/src/main.tsx | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/B07_DesignDetail/openwebcad/src/main.tsx b/B07_DesignDetail/openwebcad/src/main.tsx index 7437e0db..19cd7387 100644 --- a/B07_DesignDetail/openwebcad/src/main.tsx +++ b/B07_DesignDetail/openwebcad/src/main.tsx @@ -143,13 +143,7 @@ function initApplication() { if (canvas) { setCanvas(canvas); - // 저지연 캔버스 — 렌더러 합성 큐를 건너뛰어 커서·고무줄이 손에 붙는다 - // (2026-08-30 커서가 미묘하게 끌린다는 지적. 프레임은 16.7ms로 정상이었고 - // 남은 지연은 합성 파이프라인이었다). alpha:false는 불투명 캔버스로 만들어 - // 합성을 한 겹 더 덜어 준다 — 도면 배경은 언제나 불투명하다. - // https://developer.chrome.com/blog/desynchronized - const context = - canvas.getContext('2d', { desynchronized: true, alpha: false }) ?? canvas.getContext('2d'); + const context = canvas.getContext('2d'); if (!context) return; setEntities([], true); // Creates the first undo entry