Repository navigation
[2/2] feat: pinch and twist the selected canvas clip on touch - #336
Merged
Merged
Conversation
github-actions Bot
pushed a commit
that referenced
this pull request
Dec 3, 2026
# [2.36.0](v2.35.0...v2.36.0) (2026-12-03) ### Bug Fixes * keep the drag ghost under its clip when the timeline is scrolled ([#337](#337)) ([8157710](8157710)) ### Features * adapt the timeline toolbar to touch layouts ([#334](#334)) ([9ffcac0](9ffcac0)) * make canvas selection handles easier to hit on touch ([#335](#335)) ([0f0fcac](0f0fcac)) * pinch and twist the selected canvas clip on touch ([#336](#336)) ([e77dc9f](e77dc9f)) * show a clip as lifted during a long press ([#333](#333)) ([122a661](122a661))
|
🎉 This PR is included in version 2.36.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
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.
Phone editors resize the selected object when you pinch it; Studio zoomed the canvas.
What a two-finger gesture does:
How the resize is written:
width,heightandfit: contain, neverscale.Rotation ignores the first 5° of twist, so resizing doesn't tilt the clip, then snaps as the rotation handle does.
Undo: each gesture is one undo step. A pinch records nothing if it changes nothing, is cancelled, or the clip is deselected mid-gesture. A clip with a keyframed offset falls back to zooming the canvas.
The commit block moved unchanged from
onPointerUpinto a sharedcommit().This PR is 605 delta lines; about 395 are tests.
Verify:
fit: containandscale1 and keeps the centre fixed;visualViewport.scalestays 1.Merge bottom-up. Retarget the 2/2 PR to
mainafter the 1/2 lands.