Skip to content

feat(screenshot): add grid overlay with screen coordinates#353

Open
TSavo wants to merge 1 commit into
claude-did-this:mainfrom
TSavo:feature/grid-screen-coordinates
Open

feat(screenshot): add grid overlay with screen coordinates#353
TSavo wants to merge 1 commit into
claude-did-this:mainfrom
TSavo:feature/grid-screen-coordinates

Conversation

@TSavo
Copy link
Copy Markdown

@TSavo TSavo commented Jan 17, 2026

Summary

  • Add grid overlay option to screenshots showing coordinate labels
  • Grid labels display true screen coordinates (accounting for window offset and scale factor)
  • Add gridTransparency parameter (0-100) to control grid visibility
  • Fixes click accuracy by showing where to click on screen, not image pixels

Changes

  • grid: true | number - Enable grid with default 100px spacing, or specify custom spacing (10-500px)
  • gridTransparency: 0-100 - Control grid line opacity (default 50)

Test plan

  • Added unit tests for grid options passthrough
  • Manual testing confirms accurate screen coordinates for clicking

🤖 Generated with Claude Code

- Add grid overlay option to screenshots showing coordinate labels
- Grid labels display true screen coordinates (accounting for window offset and scale)
- Add gridTransparency parameter (0-100) to control grid visibility
- Fixes click accuracy by showing where to click on screen, not image pixels

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@TSavo
Copy link
Copy Markdown
Author

TSavo commented Jan 18, 2026

This fork is actively maintained at: https://github.com/TSavo/MCPControl

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