ros3djs icon indicating copy to clipboard operation
ros3djs copied to clipboard

Adaptative Viewer

Open Kad91 opened this issue 6 years ago • 1 comments

The current options for the size of the viewer are width and height. Is there a way to make a viewer adaptative ? I mean display all the viewer even if the size of the screen changes.

Example : I used width : 2000 and height : 1338. This permits me to see the scene on the whole screen when it is extended but not when I reduce it

Kad91 avatar Aug 06 '19 09:08 Kad91

I've solved this in my app code. You'll have to detect resize changes to the DOM, then call viewer.resize(width, height).

J-Rojas avatar Aug 11 '19 20:08 J-Rojas