Hide the view until the scene is initially built (#2894)

* Hide the view until the scene is initially built

* fmt

* Remove log
This commit is contained in:
49fl
2024-07-04 01:40:45 -04:00
committed by GitHub
parent 1257ec0327
commit fb3e922180
6 changed files with 32 additions and 6 deletions

View File

@ -65,7 +65,10 @@ export function useSetupEngineManager(
executeCode: () => {
// We only want to execute the code here that we already have set.
// Nothing else.
return kclManager.executeCode(true, true)
kclManager.isFirstRender = true
return kclManager.executeCode(true, true).then(() => {
kclManager.isFirstRender = false
})
},
token,
settings,