Set default size

Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
This commit is contained in:
2024-10-21 19:00:32 -07:00
parent c685ee565b
commit a820b287f7

View File

@@ -29,6 +29,8 @@ if (glbElems.length > 0) {
newModel.src = modelInfo[0]
newModel.toggleAttribute('camera-controls')
newModel.toggleAttribute('ar')
newModel.style.width='800px'
newModel.style.height='600px'
ge.parentElement.replaceChild(newModel, ge)
console.log(`Replacing ${ge}...`)
console.log(modelInfo[1])