From 49ad1d6a4b3ad368ba2dffd00b15d6f83d2b87a9 Mon Sep 17 00:00:00 2001 From: "PolicyChanges1@gmail.com" Date: Sat, 13 Feb 2021 11:36:31 -0500 Subject: [PATCH] renable background --- dist/tetrion.js | 2 ++ index.html | 4 ++-- src/main.js | 2 ++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/dist/tetrion.js b/dist/tetrion.js index 6fc8627..0394165 100644 --- a/dist/tetrion.js +++ b/dist/tetrion.js @@ -984,6 +984,8 @@ Tetris.prototype = { this._update(); } if(curkey == "Back") { + // this.hintMino = [] ? + // this.shape = [] this._restartHandler(); return; } diff --git a/index.html b/index.html index e7c1361..f653271 100644 --- a/index.html +++ b/index.html @@ -37,13 +37,13 @@ - +document.getElementById("bg").height = window.innerHeight;
diff --git a/src/main.js b/src/main.js index eacc0ea..52c99f1 100644 --- a/src/main.js +++ b/src/main.js @@ -337,6 +337,8 @@ Tetris.prototype = { this._update(); } if(curkey == "Back") { + // this.hintMino = [] ? + // this.shape = [] this._restartHandler(); return; }