Skip to content

Add auto-pan during canvas drag gestures - #1192

Merged
marcinz606 merged 1 commit into
marcinz606:mainfrom
matthoosier:auto-pan
Sep 27, 2026
Merged

marcinz606 merged 1 commit into
marcinz606:mainfrom
matthoosier:auto-pan

Conversation

@matthoosier

@matthoosier matthoosier commented Sep 26, 2026 •

Copy link
Copy Markdown
Contributor

At high zoom, crop and straighten gestures need access to image content beyond the visible viewport without releasing the drag. Pan when the pointer enters the 2% inset zone on a clipped image edge; speed scales linearly at four times the original slope and is capped.

Keep motion continuous while the pointer rests, and keep gesture geometry anchored as the canvas transform changes. Cover edge gating, direction and corner priority, timer lifecycle, and final gesture commits.

@matthoosier

Copy link
Copy Markdown
Contributor Author

@marcinz606 , what do you think of this UX idea? I find it to be extremely helpful when doing all the straightening and precise cropping.

@matthoosier matthoosier changed the title Add auto-pan during canvas drag getures Add auto-pan during canvas drag gestures Sep 26, 2026
@matthoosier

Copy link
Copy Markdown
Contributor Author

Force-pushed some commit message typo fixes.

At high zoom, crop and straighten gestures need access to image content beyond
the visible viewport without releasing the drag. Pan when the pointer enters
the 2% inset zone on a clipped image edge; speed scales linearly at four times
the original slope and is capped.

Keep motion continuous while the pointer rests, and keep gesture geometry
anchored as the canvas transform changes. Cover edge gating, direction and
corner priority, timer lifecycle, and final gesture commits.

Co-authored-by: GPT-6 Luna <noreply@openai.com>
@matthoosier

Copy link
Copy Markdown
Contributor Author

Rebased

@marcinz606
marcinz606 merged commit ce7aa04 into marcinz606:main Sep 27, 2026
1 check passed
@matthoosier
matthoosier deleted the auto-pan branch September 27, 2026 12:34
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