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: Make gradient resizing refresh and not use cached textures #4693
fix: Make gradient resizing refresh and not use cached textures #4693
Conversation
6f1bf29
to
d541a95
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for looking into this. I just have a comment on the interface perhaps being unnecessary.
I would check out how Rectangle (when stroke is on) or the Image canvas types, they already reset the cache when resized. |
211c506
to
960fe0e
Compare
960fe0e
to
b5fd9fb
Compare
Avoid using cached textures for gradients, by refreshing the object on resize. Fixes fyne-io#4608.
b5fd9fb
to
c0bd61c
Compare
I forgot to review this one. Sorry about that. Plan to do so tomorrow evening |
Oh whoops, I just merged before I saw this |
No problem. I thought you couldn't merge before I had approved so I'm kind of just glad that you relieved me of my duties :) |
Description:
Avoid using cached textures for gradients, by refreshing the object on resize.
Fixes #4608.
Checklist: