Skip to content

feat: add Zoom Lens annotation tool#4657

Open
N1et wants to merge 1 commit into
flameshot-org:masterfrom
N1et:feature/zoom-lens-tool
Open

feat: add Zoom Lens annotation tool#4657
N1et wants to merge 1 commit into
flameshot-org:masterfrom
N1et:feature/zoom-lens-tool

Conversation

@N1et

@N1et N1et commented Apr 23, 2026

Copy link
Copy Markdown

Add a new annotation tool that magnifies a selected area into a repositionable and resizable popup with a colored connector line.

I'm not a dev, just warning about it, i used claude to help me

Features:

  • Select source area with click-and-drag, zoom popup appears in real-time
  • Popup auto-positions to the right (or left/below/above if no space)
  • Connector line from source center to popup center, hidden behind both rects
  • Independent popup movement (drag inside popup)
  • Proportional popup resize via mid-right handle
  • Source area resize via corner and edge midpoint handles
  • Red border by default, configurable via toolbar color picker
  • Click anywhere on source or popup to select the tool
image image

Add a new annotation tool that magnifies a selected area into a
repositionable and resizable popup with a colored connector line.

Features:
- Select source area with click-and-drag, zoom popup appears in real-time
- Popup auto-positions to the right (or left/below/above if no space)
- Connector line from source center to popup center, hidden behind both rects
- Independent popup movement (drag inside popup)
- Proportional popup resize via mid-right handle
- Source area resize via corner and edge midpoint handles
- Red border by default, configurable via toolbar color picker
- HiDPI-aware rendering
- Click anywhere on source or popup to select the tool

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@N1et N1et mentioned this pull request Apr 23, 2026
@g4rcez

g4rcez commented Apr 23, 2026

Copy link
Copy Markdown

@mmahmoudian

Copy link
Copy Markdown
Member

@N1et thanks for clarifying in the comment under the issue that this is AI assisted. We don't have a policy against AI, but we appreciate the transparency and honesty. I would be thankful if you xan also add a sentence about it in this PR too for the sake of transparency.

I haven't managed to go through the code fully yet, but just wanted to comment that perhaps we should design the SVG ourselves or get it from a known source with Creative Commons license to avoid potential copyright issues.

@N1et

N1et commented Apr 25, 2026

Copy link
Copy Markdown
Author

I added the same observation about AI on PR description.

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.

3 participants