feat(device): 스프레드시트 손가락 — 톡 = 칸 고름(자판 안 뜸) · 고른 칸 · 머리 · 채우기 손잡이 끌기 = 범위 · 채우기 · 안 고른 칸 끌기 = 화면 밀기 · 두 번 톡 = 고침(손 동작 안에서 자판) · 손잡이 잡는 자리 20px · 두 손가락 = 격자 확대 (기기대응 4-2)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Ji4nuyLVHcxrXWHTdb5nRD
This commit is contained in:
@@ -31,7 +31,12 @@ export function attachTouch(ctl: InputController): void {
|
||||
let timer: ReturnType<typeof setTimeout> | undefined;
|
||||
|
||||
const mouse = (type: string, x: number, y: number) =>
|
||||
new MouseEvent(type, { clientX: x, clientY: y, button: 0, buttons: type === 'mousedown' ? 1 : 0 });
|
||||
new MouseEvent(type, {
|
||||
clientX: x,
|
||||
clientY: y,
|
||||
button: 0,
|
||||
buttons: type === 'mousedown' ? 1 : 0,
|
||||
});
|
||||
/** 화면(캔버스 아래 원점) 좌표 — 컨트롤러와 같은 꼴 */
|
||||
const canvasPoint = (x: number, y: number): Point => {
|
||||
const b = canvas.getBoundingClientRect();
|
||||
|
||||
Reference in New Issue
Block a user