transparent line clear
This commit is contained in:
parent
7a8978a4f6
commit
826e71d0a0
@ -400,7 +400,7 @@ class Matrix {
|
|||||||
this.piece.draw(this.context, ghostYOffset)
|
this.piece.draw(this.context, ghostYOffset)
|
||||||
|
|
||||||
// Lines cleared
|
// 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))
|
this.linesCleared.forEach(y => this.context.fillRect(0, y, this.width, MINO_SIZE))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user