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

Initial size incorrect #1

Open
bartbutenaers opened this issue Feb 27, 2021 · 0 comments
Open

Initial size incorrect #1

bartbutenaers opened this issue Feb 27, 2021 · 0 comments

Comments

@bartbutenaers
Copy link
Owner

Sometimes the BabylonJs progress bar does not nicely fit the available space. Instead it is being displayed much too small, on the left side of the widget.

I have the impression that this happens when multiple scenes on a single page. Seems that the timeout (which I had added to solve this) has a period that is too small if multiple scenes need to be rendered.

It would be much better if I could replace the timer by some kind of load-complete-event ... Indeed the BabylonJs canvas should be created at the moment that this node's parent DIV element has its final size!

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

No branches or pull requests

1 participant