Set default size
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
This commit is contained in:
@@ -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])
|
||||
|
||||
Reference in New Issue
Block a user