Inspector not resize the canvas

I don’t know if this is a bug or what? But the inspector does not resize the canvas. Instead, the inspector is over the canvas.

Is this normal? Shouldn’t the canvas be resized?

https://www.babylonjs-playground.com/#3VMTI9#175

Try this out:

https://www.babylonjs-playground.com/#3VMTI9#176

The inspector has the ability to stack in an embedded view. It’s sometimes easier to use in this view.

One other thing to know is that you can pop the entire inspector out into its own window with this little button:
image

Hope this is helpful.

1 Like

Yes I had tried embedMode, the canvas is resize, but it’s not the view I want because I have an HTML element to center which becomes offset.

What is strange is that the GUI elements of Babylon are resized, but not the 3D objects with the view without embedMode.

It doesn’t matter, I just wanted to know if it was planned like that or if something was wrong.