Skip to content

feat(scanner): migrate from drag-to-zoom to pinch-to-zoom#690

Merged
bmc08gt merged 2 commits into
code/cashfrom
feat/pinch-to-zoom
May 11, 2026
Merged

feat(scanner): migrate from drag-to-zoom to pinch-to-zoom#690
bmc08gt merged 2 commits into
code/cashfrom
feat/pinch-to-zoom

Conversation

@bmc08gt
Copy link
Copy Markdown
Collaborator

@bmc08gt bmc08gt commented May 11, 2026

No description provided.

bmc08gt added 2 commits May 11, 2026 12:14
Replace drag-to-zoom with iOS-style pinch-to-zoom using anchored start
zoom, pow(1.3) power curve, 20x hard cap, and lerp smoothing for
gradual lens-switch transitions. Tap-to-focus no longer triggers zoom.
Show a pill badge with the current zoom level (e.g. 1.0x) below the
top bar while a pinch gesture is active. Fades in/out with the gesture.

Signed-off-by: Brandon McAnsh <git@bmcreations.dev>
@bmc08gt bmc08gt self-assigned this May 11, 2026
@github-actions github-actions Bot added area: ui Compose UI, theme, components, resources area: scanner QR/Kikcode scanning, camera labels May 11, 2026
@bmc08gt bmc08gt changed the title Feat/pinch to zoom feat(scanner): migrate from drag-to-zoom to pinch-to-zoom May 11, 2026
@bmc08gt bmc08gt merged commit e813edc into code/cash May 11, 2026
3 checks passed
@bmc08gt bmc08gt deleted the feat/pinch-to-zoom branch May 11, 2026 16:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: scanner QR/Kikcode scanning, camera area: ui Compose UI, theme, components, resources

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant