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: text widget state update #1933 #1939

Merged
merged 2 commits into from
Nov 15, 2022
Merged

fix: text widget state update #1933 #1939

merged 2 commits into from
Nov 15, 2022

Conversation

Pcothren
Copy link
Collaborator

@Pcothren Pcothren commented Nov 6, 2022

Description:
Item state update was left inside of the drawing of the widget, this was most likely done due to left label causing two spots were state was updated. when refactoring the code this was missed. This was tested by inspecting the item state of the demo text color and word wrapping section and viewing the item registry to ensure states were updated correctly when the item was interacted with by the mouse and the item width was changed with the word wrapping slider.

The old item state update was removed and the new item state update function was used.

@Pcothren
Copy link
Collaborator Author

Pcothren commented Nov 6, 2022

Both of the provided minimal examples were verified as working.

@Pcothren
Copy link
Collaborator Author

Update item state was corrected to include the label part of the text widget
and the fix for Chinese was implemented as well

@hoffstadt hoffstadt merged commit 379737a into master Nov 15, 2022
@hoffstadt hoffstadt deleted the issue_1993 branch November 15, 2022 12:55
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