Skip to content

fix(rendering): let cursor smoothing settle after movement ends - #2904

Merged
richiemcilroy merged 2 commits into
CapSoftware:mainfrom
yashranaway:fix/cursor-render
Oct 22, 2026
Merged

richiemcilroy merged 2 commits into
CapSoftware:mainfrom
yashranaway:fix/cursor-render

Conversation

@yashranaway

@yashranaway yashranaway commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

the smoothed cursor timeline only simulated 300 ms past the last cursor event. springs slower than that, including the built in smooth preset, were still moving when the timeline ended, so the cursor froze short of where the mouse actually stopped for the rest of the video.

now the simulation keeps going after the last event until the spring is at rest, which it already snaps to once it's close enough, with a five second cap so a zero friction custom spring can't run forever. the test moves the cursor once and checks it ends exactly on the final position.

RetriggerView in GreptileConfidence Score: 5/5

The PR appears safe to merge.

Summary

The PR lets cursor smoothing continue after the final recorded move until the spring rests, with a five-second limit.

  • Smoothed cursor timelines keep running until the spring settles or five seconds pass.

Reviews (1) · Last reviewed commit: "fix(rendering): let cursor smoothing set..." · Reviewed by Greptile

@yashranaway

Copy link
Copy Markdown
Contributor Author

@greptileai review

@vercel

vercel Bot commented Oct 22, 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.

@richiemcilroy
richiemcilroy merged commit a4c3bd4 into CapSoftware:main Oct 22, 2026
41 of 46 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