transparent line clear

This commit is contained in:
Adrien MALINGREY 2019-10-29 08:53:02 +01:00
parent 7a8978a4f6
commit 826e71d0a0

View File

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