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 binding loop in AudioResourceControl, and simplify #25955

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cbjeukendrup
Copy link
Contributor

This finally fixes the long-standing binding loop on the itemImplicitWidth binding inside the FlatButton in titleLoader. It is still unclear what was precisely the cause; a vague theory might be that asking for titleLoader.width inside the FlatButton inside the titleLoader might somehow depend on the FlatButton's implicitWidth, which indeed depends on itemImplicitWidth, and perhaps StyledTextLabel's implicitWidth depends on its width because of elision/wrap mode? We'll probably never know, but anyway, it's fixed now.

QA notes: need to check that there are no (visual) regressions in the "Sound" and "Audio FX" rows in the Mixer.

This finally fixes the long-standing binding loop on the `itemImplicitWidth` binding inside the FlatButton in `titleLoader`. It is still unclear what was precisely the cause; a vague theory might be that asking for `titleLoader.width` inside the FlatButton inside the `titleLoader` might somehow depend on the FlatButton's implicitWidth, which indeed depends on `itemImplicitWidth`, and perhaps StyledTextLabel's `implicitWidth` depends on its `width` because of elision/wrap mode? We'll probably never know, but anyway, it's fixed now.
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.

1 participant