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

@ -175,7 +175,12 @@ export const SettingsAuthProviderBase = ({
id: `${event.type}.success`,
})
},
'Execute AST': () => kclManager.executeCode(true, true),
'Execute AST': () => {
kclManager.isFirstRender = true
kclManager.executeCode(true, true).then(() => {
kclManager.isFirstRender = false
})
},
},
services: {
'Persist settings': (context) =>