From 826e71d0a054456887470829afe4b7dc935f2443 Mon Sep 17 00:00:00 2001 From: Adrien MALINGREY Date: Tue, 29 Oct 2019 08:53:02 +0100 Subject: [PATCH] transparent line clear --- js/webtris.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/webtris.js b/js/webtris.js index 87d44f6..ecf15fd 100644 --- a/js/webtris.js +++ b/js/webtris.js @@ -400,7 +400,7 @@ class Matrix { this.piece.draw(this.context, ghostYOffset) // Lines cleared - this.context.fillStyle = "white" + this.context.fillStyle = "rgba(255, 255, 255, 0.5)" this.linesCleared.forEach(y => this.context.fillRect(0, y, this.width, MINO_SIZE)) }