Skip to content

feat(preview): Ctrl+wheel zoom in Marco, full preview zoom ported to Polo - #45

Open
vobornik wants to merge 1 commit into
Ranrar:mainfrom
vobornik:feature/preview-ctrl-wheel-zoom
Open

vobornik wants to merge 1 commit into
Ranrar:mainfrom
vobornik:feature/preview-ctrl-wheel-zoom

Conversation

@vobornik

Copy link
Copy Markdown

Summary

  • Marco's preview already had a zoom toolbar and Ctrl+=/Ctrl+-/Ctrl+0 shortcuts; Ctrl+scroll wheel now zooms it too, reusing the existing marco_zoom: IPC path.
  • Polo had no zoom feature at all — it gains the same in-page toolbar, keyboard shortcuts, and Ctrl+wheel. Deliberately session-only (no settings persistence), since Polo opens a different document on every launch.
  • Changelog (changelog/marco.md, changelog/polo.md) and user guide (documentation/user_guide/user_guide.md) updated to match.

Test plan

  • cargo build -p marco -p polo
  • cargo test -p marco -p polo (449 + 78 passing)
  • Manually verified in both running apps: Ctrl+wheel and Ctrl+=/Ctrl+-/Ctrl+0 zoom the preview, zoom toolbar appears on hover with live percentage

…Polo

Marco's preview already had a zoom toolbar and Ctrl+=/Ctrl+-/Ctrl+0
shortcuts; Ctrl+scroll wheel now zooms it too, reusing the existing
marco_zoom: IPC path.

Polo had no zoom feature at all. It gains the same toolbar, keyboard
shortcuts, and Ctrl+wheel, deliberately session-only (no settings
persistence) since Polo opens a different document on every launch.
@Ranrar

Ranrar commented Aug 25, 2026

Copy link
Copy Markdown
Owner

Thanks for the contribution! I had completely missed adding zoom to Polo, and I hadn't even thought about using Ctrl+mouse wheel for zooming. I'll test it when I get some free time.

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.

2 participants