Repository navigation
iPhone upright: zoom the picture from Aa, the Mac's pointer held in the middle (1 of 5) - #202
Open
RaffaelFerro wants to merge 1 commit into
Open
RaffaelFerro wants to merge 1 commit into
RaffaelFerro wants to merge 1 commit into
Conversation
…he middle PictureZoom (Tests/checks/picture-zoom): the frame magnified 1x to 4x on the device alone, the pointer held in the picture's middle and stopping at the frame's edges. A tap on Aa toggles it, a hold shows its ruler above Aa's (the finger moves up to it), a two-finger double tap toggles it on the picture. Touches, scrolls and the Pencil map back through it; the trackpad slows by it; the picture holds still while a finger is on it, and a finger's click is followed only after the double-click time. Each source keeps its zoom. Only on a phone held upright; nothing sent. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Oct 21, 2026
Owner
|
Heads-up: pinch to zoom on the picture is merged into main (#196), so an Aa-driven zoom would now sit beside it. If you keep this one, please rebase on main so the two agree on who owns two fingers (StreamZoom.Stroke). |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part 1 of 5. Series: #202 zoom → #203 Aa's Auto → #204 strip stacks → #205 Shortcuts → #206 Full Screen. Each part builds on the one before; this one stands alone.
What
Zoom the picture on an iPhone held upright, on the device alone, with the Mac's pointer held in the middle (as macOS's own Zoom does).
How
PictureZoom(new, pure geometry): where the magnified frame is drawn, the focus, the hold under a finger, the per-source memory.HEVCDisplayView: theAVSampleBufferDisplayLayernow lives in a subview, so the zoom transforms the picture while the pointer sprite and the HUD keep their size; the sprite is placed in the zoomed frame.InputOverlaymaps throughzoom.rect; a two-finger double-tap recognizer that holds nothing back (cancelsTouchesInView = false).TrackpadViewdivides its motion by the zoom.TextScaleControltakes an optionalzoom: a quick tap toggles it, a hold or a move opens the rulers.Checks
Tests/checks/picture-zoom(new, in CI's matrix): 45 checks, 20,000 random zooms against the geometry's rules; 19 of 19 mutants caught.phone-portrait,tour,pointer-presenceunchanged and passing. iOS app built with Xcode 27.1, Debug for the simulator and Release for a device.Tested
Tried by Raffael on an iPhone 12 Pro (Release build) against Sill for Mac 0.5.1: the zoom and the pointer in the middle work. Not tried on an iPad (unchanged there by design) or a Duo; the double click while zoomed and the two-finger double tap not yet confirmed on the device.
🤖 Generated with Claude Code