renable background
parent
aab893ccb9
commit
49ad1d6a4b
|
@ -984,6 +984,8 @@ Tetris.prototype = {
|
||||||
this._update();
|
this._update();
|
||||||
}
|
}
|
||||||
if(curkey == "Back") {
|
if(curkey == "Back") {
|
||||||
|
// this.hintMino = [] ?
|
||||||
|
// this.shape = []
|
||||||
this._restartHandler();
|
this._restartHandler();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
@ -37,13 +37,13 @@
|
||||||
<body>
|
<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>
|
<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>
|
<script>
|
||||||
|
|
||||||
|
|
||||||
document.getElementById("bg").width = window.innerWidth;
|
document.getElementById("bg").width = window.innerWidth;
|
||||||
document.getElementById("bg").height = window.innerHeight;-->
|
document.getElementById("bg").height = window.innerHeight;
|
||||||
</script>
|
</script>
|
||||||
<div id="tetris">
|
<div id="tetris">
|
||||||
|
|
||||||
|
|
|
@ -337,6 +337,8 @@ Tetris.prototype = {
|
||||||
this._update();
|
this._update();
|
||||||
}
|
}
|
||||||
if(curkey == "Back") {
|
if(curkey == "Back") {
|
||||||
|
// this.hintMino = [] ?
|
||||||
|
// this.shape = []
|
||||||
this._restartHandler();
|
this._restartHandler();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue