fix-sync-interrupts-drawing #2

Merged
brian merged 2 commits from fix-sync-interrupts-drawing into main 2026-06-11 23:34:45 +00:00
Owner
No description provided.
Handwriting lifts the stylus between words and letters, so a 600ms gap
synced mid-sentence. Hold off for a 30s settle window after each lift,
restarting it on every stroke, and enforce it in sync() so interval and
mutation syncs also defer during between-words pauses.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Pinch-to-zoom: two fingers on a page canvas scale (1x–5x) and pan it via
a CSS transform; the gesture preventDefaults so the feed doesn't scroll,
aborts any in-progress one-finger stroke, and clamps so the page stays
covering its holder (snapping back to fit at 1x). Stylus drawing keeps
working while zoomed since canvas point mapping reads the transformed rect.

Lock: a 🔒 toggle per page (persisted in content, so it syncs) turns off
pen/eraser/text and sets touch-action so finger or stylus just moves the
page. Pinch-zoom still works on a locked page.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
brian merged commit 98b21c8d0a into main 2026-06-11 23:34:45 +00:00
brian deleted branch fix-sync-interrupts-drawing 2026-06-11 23:34:46 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
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
brian/Journal!2
No description provided.