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/1809 - toolbar refresh on icon change #1816

Merged
merged 2 commits into from Jan 16, 2021

Conversation

andydotxyz
Copy link
Member

We should refresh the whole toolbar if asked.
Since this optimisation was put in place we have better documented the potential expense of calling Refresh - and we have done a better job of avoiding it except when needed, like in this instance.

Also removed a rogue background rectangle folloing the BackgroundColor removal.

Fixes #1809

Checklist:

  • Tests included.
  • Lint and formatter run with no errors.
  • Tests all pass.

@andydotxyz andydotxyz changed the title Fix/1809 Fix/1809 - toolbar refresh on icon change Jan 16, 2021
Copy link
Member

@Jacalz Jacalz 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 to me 👍

@andydotxyz andydotxyz merged commit c462891 into fyne-io:develop Jan 16, 2021
@andydotxyz andydotxyz deleted the fix/1809 branch January 16, 2021 18:57
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