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 failure to update dynamic label #1260

Merged
merged 1 commit into from
Sep 27, 2020
Merged

Fix failure to update dynamic label #1260

merged 1 commit into from
Sep 27, 2020

Conversation

cmyr
Copy link
Member

@cmyr cmyr commented Sep 27, 2020

We were failing to set the text in the update case; this
was a consequence of #1252

@@ -477,6 +477,7 @@ impl<T: Data> Widget<T> for Label<T> {
self.text_should_be_updated = false;
if data_changed {
let new_text = self.text.display_text();
dbg!(&new_text);
Copy link
Collaborator

Choose a reason for hiding this comment

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

I don't think this dbg! is intentional?

Copy link
Member Author

Choose a reason for hiding this comment

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

😅

We were failing to set the text in the update case; this
was a consequence of #1252
@cmyr cmyr merged commit b2d4fbd into master Sep 27, 2020
@cmyr cmyr deleted the fix-broken-label branch September 27, 2020 14:44
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