From 6ef5223f0e765b14d8fcb5b3ff04cda05d70e836 Mon Sep 17 00:00:00 2001 From: bchanot Date: Thu, 12 Nov 2026 13:51:54 +0100 Subject: [PATCH] docs(app): useEmptyTap comment says pen follows touch (R1, D6b) --- apps/app/src/catalogue/useEmptyTap.ts | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/apps/app/src/catalogue/useEmptyTap.ts b/apps/app/src/catalogue/useEmptyTap.ts index 5012a5e6..e850e857 100644 --- a/apps/app/src/catalogue/useEmptyTap.ts +++ b/apps/app/src/catalogue/useEmptyTap.ts @@ -122,11 +122,10 @@ function takeClick(ref: Ref, target: EventTarget | null): ClickAnswer { * Tells a tap on the empty drawing from every other gesture. The decision is taken from * the PRESS (where it landed, whether it moved, whether a second pointer joined), never * from the click's target: the move gesture captures the pointer on the box, which - * retargets the click of a press on the selected marker; and on touch the browser builds - * the click after the lift, on the layout without the selection, and may adjust it toward - * a nearby marker; a stylus platform builds it the same way. Only the mouse acts at the - * pointer-up (a blur commit at mousedown can rebuild the drawing and drop the click); - * touch and pen act in the tap's own click. + * retargets the click of a press on the selected marker. The mouse acts at the pointer-up (a blur commit at mousedown can + * rebuild the drawing and drop the click); touch and pen act in the tap's own click + * (their click is built after the lift, on the layout without the selection, and may be + * adjusted toward a nearby marker). * Refs only: no render follows a press. */ export function useEmptyTap() {