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 the flicker on originalFill image load #1434

Merged
merged 2 commits into from Oct 22, 2020

Conversation

andydotxyz
Copy link
Member

This is not pretty but what we have to do is return the visible portion pixel for pixel.
The image is immediately refreshed so the correct, full, image (with aspect applied) is then used.

Fixes #1432

Checklist:

  • Tests included. <- as before, this is only seen on gl driver rendering, reproduction code was good to replicate
  • Lint and formatter run with no errors.
  • Tests all pass.

This is not pretty but what we have to do is return the visible portion pixel for pixel.
The image is immediately refreshed so the correct, full, image (with aspect applied) is then used.

Fixes fyne-io#1432
Just skip frame 1 the flicker goes :)

Fixes fyne-io#1432
@andydotxyz andydotxyz merged commit 7aad1cc into fyne-io:develop Oct 22, 2020
@andydotxyz andydotxyz deleted the fix/1432 branch October 22, 2020 22:11
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.

None yet

2 participants