Skip to content

fix(rendering): ignore cursor movement in timeline cuts for auto zoom - #3338

Merged
richiemcilroy merged 6 commits into
CapSoftware:mainfrom
yashranaway:fix/auto-zoom-cut-cursor
Oct 26, 2026
Merged

richiemcilroy merged 6 commits into
CapSoftware:mainfrom
yashranaway:fix/auto-zoom-cut-cursor

Conversation

@yashranaway

@yashranaway yashranaway commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

when an auto zoom segment spans a cut on the timeline, the camera was aiming using cursor movement from the part that got cut out. the zoom maps its start and end back to recording time and takes every move in between, so a cut in the middle pulled the focus toward stuff the viewer never sees.

now if the zoom crosses a cut, it only uses cursor moves from the recording ranges that are actually kept, plus wherever the cursor was sitting when each kept part starts. a zoom ending exactly on a cut counts too. zooms without a cut skip this entirely and render bit-identical to before, which the new tests check across splits, speed changes and text holds.

RetriggerView in GreptileConfidence Score: 5/5

The PR appears safe to merge, with no outstanding findings.

Summary

Auto zoom now ignores cursor movement in deleted timeline ranges while preserving the cursor position carried into each kept range.

  • Auto zoom follows cursor moves from the recording ranges kept in the timeline.

Reviews (6) · Last reviewed commit: "chore(rendering): drop narrating doc com..." · Reviewed by Greptile

@vercel

vercel Bot commented Oct 26, 2026

Copy link
Copy Markdown
Contributor

@yashranaway is attempting to deploy a commit to the Cap Software Inc Team on Vercel.

A member of the Team first needs to authorize it.

@yashranaway

Copy link
Copy Markdown
Contributor Author

@greptileai review

Comment thread crates/rendering/src/zoom_spring.rs Outdated
Comment thread crates/rendering/src/zoom_spring.rs Outdated
@yashranaway

Copy link
Copy Markdown
Contributor Author

@greptileai review

Comment thread crates/rendering/src/zoom_spring.rs Outdated
@yashranaway

Copy link
Copy Markdown
Contributor Author

@greptileai review

Comment thread crates/rendering/src/zoom_spring.rs Outdated
@yashranaway

Copy link
Copy Markdown
Contributor Author

@greptileai review

@richiemcilroy

Copy link
Copy Markdown
Member

@greptileai review

Comment thread crates/rendering/src/zoom_spring.rs Outdated
@richiemcilroy

Copy link
Copy Markdown
Member

@greptileai review

@richiemcilroy richiemcilroy left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verified for 0.6.2: Greptile 5/5 on this head, full CI green, and the full test suites pass on macOS with this PR combined with the other 0.6.2 changes.

@richiemcilroy
richiemcilroy merged commit 1fca967 into CapSoftware:main Oct 26, 2026
48 of 50 checks passed
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