hide screen on loading

This commit is contained in:
2024-10-02 02:17:23 +02:00
parent bc4ba54c0a
commit 1a7628bb42
2 changed files with 9 additions and 5 deletions

2
app.js
View File

@@ -291,7 +291,7 @@ let loadingManager = new THREE.LoadingManager(
)
loadingManager.onStart = function (url, itemsLoaded, itemsTotal) {
loadingPercent.innerText = "0%"
loadingDiv.style.display = "block"
loadingDiv.style.display = "inherit"
}
const stats = new Stats()