loading text bottom;
This commit is contained in:
@@ -6,5 +6,6 @@ AFRAME.registerComponent('tutorial-2d', {
|
||||
play: function () {
|
||||
this.el.sceneEl.canvas.style.display = 'block';
|
||||
document.getElementById('tutorial2d').style.display = 'none';
|
||||
document.getElementById('loadingText2d').style.display = 'none';
|
||||
}
|
||||
});
|
||||
|
||||
@@ -263,6 +263,7 @@
|
||||
</a-scene>
|
||||
|
||||
<img id="tutorial2d" data-src="assets/img/tutorial2d.png">
|
||||
<h1 id="loadingText2d" style="position: fixed; bottom: 10px; left: 0; right: 0; margin; 0 auto; text-transform: uppercase; color: #FAFAFA; text-align: center; font-family: monospace">Loading...</h1>
|
||||
<script>
|
||||
// Defer image so loading image loads first.
|
||||
const tutorial2d = document.getElementById('tutorial2d');
|
||||
|
||||
Reference in New Issue
Block a user