Repository navigation
Pen cursor: the dot under a hovering Pencil is the line's own size, the highlighter a circle (#400) - #409
Merged
Conversation
Joost-8
marked this pull request as ready for review
December 3, 2026 18:19
2 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Not verified on device: the iPad bridge was held by another session. Sizes and timing were measured in the gallery (Chromium).
What changed and why
The pen's cursor under a hovering Pencil (beta) was at least 11 px with a thick rim, about eight times as wide as a thin line, and the highlighter showed a tall bar. Now it looks like the pen in hand: a ball pen is a dot as wide as its line (at least 3 px, with a slim rim), and the highlighter is a circle as wide as it marks (a bar only with the chisel tip). Both are in the pen's colour. The laser keeps its preview colour (#380). A Linux desk tablet (#266) keeps the larger dot, because its pen is away from the screen. Part of discussion #400 (item 2).
Proof
tests/view/pen-cursor.test.ts, "under a hovering pen (discussion more requests #400)": true size, the 3 px minimum, NaN width, and the mouse, laser and chisel unchanged; the highlighter is a circle, or a bar withchisel; the offset snaps to device pixels.tests/view/ink-surface.test.ts, "shows the highlighter's tip: a circle, or a bar with the chisel" (fails without the tip in the cache key).npm run gates: all steps pass.check.mjs --changed: 772 renders; the only findings are the 7 groups main already has.penCursorupdated;npm run guidewas run.Test on the device
Not verified
🤖 Generated with Claude Code