docs(app): useEmptyTap comment says pen follows touch (R1, D6b)
This commit is contained in:
1 parent
b8dda1bc9e
commit
6ef5223f0e
1 file changed
+4
-5
@@ -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() {
|
||||
|
||||
Reference in new issue
Block a user