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 flicker on canvas resize. #3079

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

jrhodnik
Copy link

@jrhodnik jrhodnik commented Nov 25, 2024

Description of Change

Bugs Fixed

  • Fixes #
    When the SKGLView is resized it is cleared internally by the browser requiring an immediate re-render of content. This causes a visible flickering effect during every resize action. This PR has a simple change that immediately re-renders the content to prevent this flickering.

I'm not sure if I need to edit SKHtmlCanvas.js as well, or if that's automatically generated. Sorry!

Reference info

API Changes

None.

PR Checklist

  • Has tests (if omitted, state reason in description)
  • Rebased on top of main at time of PR
  • Merged related skia PRs
  • Changes adhere to coding standard
  • Updated documentation

Copy link
Contributor

Hey there @jrhodnik! Thank you so much for your PR! Someone from the team will get assigned to your PR shortly and we'll get it reviewed.

@jrhodnik
Copy link
Author

@dotnet-policy-service agree

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

1 participant