Skip to content

Add a laser pointer: tap the selected color again (v52) - #53

Merged
BPMData merged 1 commit into
mainfrom
claude/overboard-laser-pointer-2ba68d
Nov 18, 2026
Merged

BPMData merged 1 commit into
mainfrom
claude/overboard-laser-pointer-2ba68d

Conversation

@BPMData

@BPMData BPMData commented Nov 18, 2026 •

Copy link
Copy Markdown
Owner

What this adds

A laser pointer in both the HTML overlay and the PDF app.

  • Turn it on: tap the pen or highlighter color you already have selected. Its ring changes to black, red, black.
  • Draw: marks show in that color with a soft glow. Each one stays while the pen is down and for 2 seconds after it lifts, then fades over 1 second.
  • Turn it off: tap the color again, or pick another color or tool.
  • Nothing is kept: laser marks are never saved, printed, added to Undo or tied to a class period.
  • Your palm still erases while the laser is on.

Cover colors and the rainbow custom color square don't have a laser. A second tap on the rainbow square still opens the color picker.

Other changes

  • New words and tooltips are in shared/strings.js in all 8 languages.
  • Version raised to v52. README and CHANGELOG updated.
  • New tests in tests/laser.spec.js.
  • Two existing tests changed: one tapped the already-selected yellow, which now turns on the laser, and one expected that color's tooltip to say only "Yellow".

Testing

Tried by hand in a browser in both the overlay and the PDF app, including the overlay zoomed in. The automated tests run here in CI.

🤖 Generated with Claude Code

Tap the pen or highlighter color you already have selected and its ring
turns black, red, black. What you draw then stays for two seconds after
the pen lifts and fades away by itself. It is never saved, printed or
added to Undo. Works the same in the PDF app and the HTML overlay.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@BPMData
BPMData merged commit 74c747e into main Nov 18, 2026
1 check passed
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