Hi, first- absolutely love the software. Puzzles are a total joy to work with!
I’m switching between cameras with a window.parent resize event listener that checks if the innerWidth is less than 768, which is working great. The problem comes when I try to do the same thing with this statement for initial load:
if (window.parent.innerWidth < 768) {
app.camera = cameraMobile;
}
This does change the camera, but it is stretched vertically. Resizing the window at all fixes it- fitting the scene back into place how it should be, so I think it has something to do with how the scene size is recalculated when the v3d-container resizes. Any idea how I can fix this?
Both cameras are orthographic (blender); the initial camera is at 76.9 orthographic scale and the mobile camera is at 58 scale.