Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix render outline duration changing with display refresh rate #1007

Merged
merged 1 commit into from
Mar 5, 2025

Conversation

jwajgelt
Copy link
Contributor

@jwajgelt jwajgelt commented Mar 4, 2025

In react-scan's outline renderer implementation, the duration of the outlines is fixed to 45 frames. This causes issues on high refresh rate displays, with frames disappearing too quickly.
This PR updates the version of react-scan to our fork which includes a fix for that.
The actual fix was made in software-mansion-labs/react-scan@406f48e

@jwajgelt jwajgelt self-assigned this Mar 4, 2025
Copy link

vercel bot commented Mar 4, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
radon-ide ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 4, 2025 3:05pm

Copy link
Collaborator

@filip131311 filip131311 left a comment

Choose a reason for hiding this comment

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

Looks good

@jwajgelt jwajgelt merged commit 439463e into main Mar 5, 2025
3 checks passed
@jwajgelt jwajgelt deleted the @jwajgelt/fix_render_outline_duration branch March 5, 2025 05:46
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