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 for LinkWithMesh causes some flickering on button creation #11046

Merged
merged 5 commits into from Sep 10, 2021

Conversation

msDestiny14
Copy link
Contributor

Copy link
Member

@sebavan sebavan left a comment

Choose a reason for hiding this comment

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

Looks way better, just need to do it for the line component as well :-)

Only question is when could parent._currentMeasure be unavailable ? to be sure it does not flicker in most cases ?

@msDestiny14
Copy link
Contributor Author

I'm trying to think of a case. Parent should always be available when that function is called because it will be inside the adt so _root will always be the parent worst case.

@sebavan
Copy link
Member

sebavan commented Sep 9, 2021

Yup, I was more focused on the _currentMeasure of the parent :-)

gui/src/2D/controls/control.ts Outdated Show resolved Hide resolved
@RaananW RaananW merged commit f8938e1 into BabylonJS:master Sep 10, 2021
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

3 participants