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) {
|
for (y of clearedLines) {
|
||||||
matrix.lockedMinoes.splice(y, 1)
|
matrix.lockedMinoes.splice(y, 1)
|
||||||
matrix.lockedMinoes.unshift(Array(matrix.columns))
|
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()
|
matrix.redraw()
|
||||||
stats.lockDown(clearedLines.length, tSpin)
|
stats.lockDown(clearedLines.length, tSpin)
|
||||||
|
@ -70,7 +70,7 @@ td.hard-drop-animation {
|
|||||||
animation: hard-drop-animation ease-out .3s;
|
animation: hard-drop-animation ease-out .3s;
|
||||||
}
|
}
|
||||||
|
|
||||||
@keyframes line-cleared-animation {
|
@keyframes cleared-line-animation {
|
||||||
from {
|
from {
|
||||||
background-color: rgb(206, 255, 255, 40%);
|
background-color: rgb(206, 255, 255, 40%);
|
||||||
filter: saturate(50%) brightness(300%);
|
filter: saturate(50%) brightness(300%);
|
||||||
@ -81,8 +81,8 @@ td.hard-drop-animation {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
tr.line-cleared-animation{
|
tr.cleared-line-animation{
|
||||||
animation: line-cleared-animation ease-out .3s;
|
animation: cleared-line-animation ease-out .3s;
|
||||||
}
|
}
|
||||||
|
|
||||||
span {
|
span {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user