rename cleared-line-animation
This commit is contained in:
parent
c0acba71bc
commit
16aa5d3d6b
2
app.js
2
app.js
@ -726,7 +726,7 @@ function lockDown() {
|
||||
for (y of clearedLines) {
|
||||
matrix.lockedMinoes.splice(y, 1)
|
||||
matrix.lockedMinoes.unshift(Array(matrix.columns))
|
||||
matrix.table.rows[y].classList.add("line-cleared-animation")
|
||||
matrix.table.rows[y].classList.add("cleared-line-animation")
|
||||
}
|
||||
matrix.redraw()
|
||||
stats.lockDown(clearedLines.length, tSpin)
|
||||
|
@ -70,7 +70,7 @@ td.hard-drop-animation {
|
||||
animation: hard-drop-animation ease-out .3s;
|
||||
}
|
||||
|
||||
@keyframes line-cleared-animation {
|
||||
@keyframes cleared-line-animation {
|
||||
from {
|
||||
background-color: rgb(206, 255, 255, 40%);
|
||||
filter: saturate(50%) brightness(300%);
|
||||
@ -81,8 +81,8 @@ td.hard-drop-animation {
|
||||
}
|
||||
}
|
||||
|
||||
tr.line-cleared-animation{
|
||||
animation: line-cleared-animation ease-out .3s;
|
||||
tr.cleared-line-animation{
|
||||
animation: cleared-line-animation ease-out .3s;
|
||||
}
|
||||
|
||||
span {
|
||||
|
Loading…
x
Reference in New Issue
Block a user