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(); this._update();
} }
if(curkey == "Back") { if(curkey == "Back") {
// this.hintMino = [] ?
// this.shape = []
this._restartHandler(); this._restartHandler();
return; return;
} }

View File

@ -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">

View File

@ -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;
} }