Skip to content

Commit

Permalink
Update timing of camera positioning UI
Browse files Browse the repository at this point in the history
  • Loading branch information
p-v-z committed May 30, 2023
1 parent 6edd656 commit 2cb0bff
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Assets/WebGLTemplates/DDTemplate/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ <h1 id="title-header" class="absolute-center">Dialogue Dreamland</h1>
</div>

<!-- Controls -->
<div id="camera-rotation-reminder">
<div id="camera-rotation-reminder" class="hidden">
<p>Rotate the camera with <kbd>Right Click</kbd></p>
</div>
<div id="controls-reminder" class="hidden">
Expand Down Expand Up @@ -116,6 +116,9 @@ <h1 id="title-header" class="absolute-center">Dialogue Dreamland</h1>
const keyUI = document.getElementById("api-key");
keyUI.classList.add("visible");
keyUI.classList.add("fader");

const rotationUI = document.getElementById("camera-rotation-reminder");
rotationUI.classList.remove('hidden');
}, 2500);
})
.catch(function (message) { alert(message); });
Expand Down

0 comments on commit 2cb0bff

Please sign in to comment.