Multi-canvas and GUI

I can’t display a GUI on my multi-canvas program without changing the GUI renderScale in a setTimeout function or setting the GUI renderAtIdealSize to true in a setTimeout function.

There is a section to comment and uncomment the setTimeout function to test the GUI.

Also, I’m not completely confident that I’ve created this program correctly, including the renderloop and canvas listeners.

Any help would be greatly appreciated.

Here are the jsfiddles:

Multi canvas with 1 scene Example:
https://jsfiddle.net/rh8j7zmc/

Multi canvas with 2 scenes Example:
https://jsfiddle.net/zkj8vh5w/

This is definitely a bug!! I’ll make sure to fix it for next nightly (probably in a hour or 2)

1 Like

This is fixed. Thank you. :smiley: