renable background
parent
aab893ccb9
commit
49ad1d6a4b
|
@ -984,6 +984,8 @@ Tetris.prototype = {
|
|||
this._update();
|
||||
}
|
||||
if(curkey == "Back") {
|
||||
// this.hintMino = [] ?
|
||||
// this.shape = []
|
||||
this._restartHandler();
|
||||
return;
|
||||
}
|
||||
|
|
|
@ -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">
|
||||
|
||||
|
|
|
@ -337,6 +337,8 @@ Tetris.prototype = {
|
|||
this._update();
|
||||
}
|
||||
if(curkey == "Back") {
|
||||
// this.hintMino = [] ?
|
||||
// this.shape = []
|
||||
this._restartHandler();
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue