Skip to content

Conversation

@richiemcilroy
Copy link
Member

Fixes white lines around screen recordings by preventing semi-transparent edges when no rounded corners are applied.

When rounding_px was 0, the apply_rounded_corners function's smoothstep anti-aliasing produced ~50% coverage at the exact edge pixels, causing background bleed-through. This change ensures straight edges remain fully opaque when no rounding is intended.


Open in Cursor Open in Web

Co-authored-by: richiemcilroy1 <richiemcilroy1@gmail.com>
@cursor
Copy link

cursor bot commented Dec 1, 2025

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Dec 1, 2025

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch cursor/investigate-screen-recording-edge-artifacts-claude-4.5-opus-high-thinking-e7c5

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

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.

3 participants