Skip to content

feat: add adjustable aspect-ratio capture regions - #160

Open
pch wants to merge 1 commit into
omacom:mainfrom
pch:feat/capture-aspect-ratios
Open

pch wants to merge 1 commit into
omacom:mainfrom
pch:feat/capture-aspect-ratios

Conversation

@pch

@pch pch commented Sep 21, 2026

Copy link
Copy Markdown

Lets users lock aspect ratio when drawing. A feature I'm missing, coming from CleanShot. The UX follows similar patterns: let user select an area, move the selection around if needed, hit Enter to capture.

Disclosure: this code is 100% AI-generated.

screenrecording-2026-09-21_15-02-40_trimmed.mp4

Adds common aspect-ratio presets to region capture. Use F / Shift+F to cycle through square, landscape, and portrait ratios, or Ctrl+F to reset to Free.

Freeform regions capture on release. Fixed-ratio regions remain adjustable: drag inside to reposition, drag corners to resize, and press Enter to capture. The real pointer stays visible and can move outside the constrained selection. Restored regions can also be adjusted before capture.

Adds common aspect-ratio presets to region capture. Use `F` / `Shift+F` to cycle through square, landscape, and portrait ratios, or `Ctrl+F` to reset to Free.

Freeform regions capture on release. Fixed-ratio regions remain adjustable: drag inside to reposition, drag corners to resize, and press Enter to capture. The real pointer stays visible and can move outside the constrained selection. Restored regions can also be adjusted before capture.

Includes updated documentation and regression coverage for ratio geometry, direction changes, repositioning, resizing, cancellation, and immediate freeform capture.
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