fix hold glich; prefered theme pop

This commit is contained in:
2026-02-16 00:07:32 +01:00
parent c01c6dcf58
commit 136ea4156f
3 changed files with 6 additions and 5 deletions

View File

@@ -251,8 +251,8 @@ class Matrix extends MinoesTable {
if (piece.locked) className += " locking"
if (piece==this.piece && actionsQueue.length) className += " moving"
super.drawPiece(piece, className)
matrix.table.style.setProperty('--piece-column', this.piece.center.x)
matrix.table.style.setProperty('--piece-row', this.piece.center.y)
this.table.style.setProperty('--piece-column', this.piece.center.x)
this.table.style.setProperty('--piece-row', this.piece.center.y)
}
clearPiece(piece=this.piece, className="") {