Skip to content

Commit

Permalink
Update main.js
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-buist authored Aug 9, 2024
1 parent ae4b727 commit 8c1d44b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@ var links = {
var manager = new THREE.LoadingManager();

manager.onStart = function() {
var ctx = myCanvas.getContext("2d")
ctx.drawImage("./images/museum_load_vignette.png")
const uiElement = document.querySelector( '#overlay' );
uiElement.style.display = 'none';
}

manager.onProgress = function (url, itemsLoaded, itemsTotal) {
Expand Down

0 comments on commit 8c1d44b

Please sign in to comment.