renable background

pull/1/head
PolicyChanges1@gmail.com 2021-02-13 11:36:31 -05:00
parent aab893ccb9
commit 49ad1d6a4b
3 changed files with 6 additions and 2 deletions

2
dist/tetrion.js vendored
View File

@ -984,6 +984,8 @@ Tetris.prototype = {
this._update();
}
if(curkey == "Back") {
// this.hintMino = [] ?
// this.shape = []
this._restartHandler();
return;
}

View File

@ -37,13 +37,13 @@
<body>
<!--
<iframe id="bg" width="640" height="360" frameborder="0" src="https://www.shadertoy.com/embed/4lBGDh?gui=&t=10&paused=false&muted=false" allowfullscreen></iframe>
<script>
document.getElementById("bg").width = window.innerWidth;
document.getElementById("bg").height = window.innerHeight;-->
document.getElementById("bg").height = window.innerHeight;
</script>
<div id="tetris">

View File

@ -337,6 +337,8 @@ Tetris.prototype = {
this._update();
}
if(curkey == "Back") {
// this.hintMino = [] ?
// this.shape = []
this._restartHandler();
return;
}