docs(app): useEmptyTap comment says pen follows touch (R1, D6b)

This commit is contained in:
bchanot committed 2026-11-12 13:51:54 +01:00
1 parent b8dda1bc9e
commit 6ef5223f0e
1 file changed
+4 -5
+4 -5
View File
@@ -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 * 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 * 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 * 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 * retargets the click of a press on the selected marker. The mouse acts at the pointer-up (a blur commit at mousedown can
* the click after the lift, on the layout without the selection, and may adjust it toward * rebuild the drawing and drop the click); touch and pen act in the tap's own click
* a nearby marker; a stylus platform builds it the same way. Only the mouse acts at the * (their click is built after the lift, on the layout without the selection, and may be
* pointer-up (a blur commit at mousedown can rebuild the drawing and drop the click); * adjusted toward a nearby marker).
* touch and pen act in the tap's own click.
* Refs only: no render follows a press. * Refs only: no render follows a press.
*/ */
export function useEmptyTap() { export function useEmptyTap() {