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 issue #46: the width is not properly calculated when the widget is drawn a second time #58

Merged
merged 5 commits into from
Jun 23, 2023

Conversation

rodrigomb81
Copy link

This PR fixes the issue by separating notifying the parent when the mode changes from returning the correct width. Also, it introduces a regression test to prevent this bug from appearing again.

From what I've seen, this bug might be present on the other display modes too so further investigation might be required.

@Jamalianpour Jamalianpour merged commit b2c5287 into Jamalianpour:master Jun 23, 2023
@rodrigomb81 rodrigomb81 deleted the fix-46 branch June 23, 2023 13:25
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