Show add-page indicator as a bar and palm-check its taps #8

Merged
reudy merged 1 commit from flat-pages-grid into main 2026-09-27 21:38:31 +02:00
Member
  • The add-page indicator is now a thin bar (4 screen px, 6 px off the edge) along each free side of the active page, instead of a full page-sized dashed block. The hit area is 20 px so it's still easy to tap.
  • Pointer taps on the bar go through the stage's gesture handling instead of the native click, so touches get the same palm rejection as writing (evaluate(e, 'draw')): ignored while the pen is down/hovering, just after pen use, or for wide contacts, and cancelled if the pen appears mid-tap. Dragging >12 px off the bar or adding a second finger also cancels it. Keyboard activation still works.
  • The PDF placement slots are unchanged.

Not type-checked or run locally (no Node in the environment).

🤖 Generated with Claude Code

- The add-page indicator is now a thin bar (4 screen px, 6 px off the edge) along each free side of the active page, instead of a full page-sized dashed block. The hit area is 20 px so it's still easy to tap. - Pointer taps on the bar go through the stage's gesture handling instead of the native click, so touches get the same palm rejection as writing (`evaluate(e, 'draw')`): ignored while the pen is down/hovering, just after pen use, or for wide contacts, and cancelled if the pen appears mid-tap. Dragging >12 px off the bar or adding a second finger also cancels it. Keyboard activation still works. - The PDF placement slots are unchanged. Not type-checked or run locally (no Node in the environment). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
agent added 1 commit 2026-09-27 21:34:57 +02:00
The add-page ghost is now a thin bar along the active page's free edge
instead of a full page-sized block. Pointer taps on it go through the
stage gesture handling, so touches are evaluated by the palm rejector
with the same 'draw' policy as writing, including being cut off if the
pen shows up mid-tap. The native click only handles keyboard activation.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
reudy approved these changes 2026-09-27 21:38:14 +02:00
reudy merged commit 2e52f1be2c into main 2026-09-27 21:38:31 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: reudy-net/Papure#8
No description provided.