Skip to content

Fingertip pointer inside the phone - #4

Merged
royandre merged 1 commit into
mainfrom
touch-pointer
Oct 30, 2026
Merged

royandre merged 1 commit into
mainfrom
touch-pointer

Conversation

@royandre

Copy link
Copy Markdown
Owner

What and why

Inside the phone the mouse pointer becomes a grey fingertip circle, like the touch pointer in Chrome DevTools, and darkens while you press. It makes the preview look and feel more like a phone without new permissions.

It is visual only: hover effects still work and (hover: hover) / (pointer: fine) still match. README and CHANGELOG say so.

How I tested it

  • npm run check (18 unit tests) and npm run test:e2e (8 tests, now asserting the frame's computed cursor is the fingertip).
  • Rendered the pointer on light, dark and coloured backgrounds to check it stays visible.

Checklist

  • npm run check passes
  • Added a line under ## [Unreleased] in CHANGELOG.md
  • No new permissions, runtime dependencies or network requests

🤖 Generated with Claude Code

https://claude.ai/code/session_01CvvFqgufMiBtnuTH5srr62

Replaces the mouse pointer in the framed page with a grey circle, like
DevTools' touch pointer, that darkens while pressed. Hover and pointer
media features are unchanged; the README says so.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CvvFqgufMiBtnuTH5srr62
@royandre
royandre merged commit 4ed3f5b into main Oct 30, 2026
2 checks passed
@royandre
royandre deleted the touch-pointer branch October 30, 2026 07:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant