fix: remove redundant rotation

This commit is contained in:
Alessandre Laguierce 2024-04-22 18:09:05 +02:00
parent d53862e861
commit a62659a055
1 changed files with 1 additions and 1 deletions

View File

@ -139,7 +139,7 @@ function placeMove(move: Move) {
const box = <HTMLElement>line.children[move.x - min_x]; const box = <HTMLElement>line.children[move.x - min_x];
box.style.border = "dotted 2px " + (inInterval(move.id, 0, 1) === 0 ? playerColors[move.id] : playerColors[2]); box.style.border = "dotted 2px " + (inInterval(move.id, 0, 1) === 0 ? playerColors[move.id] : playerColors[2]);
setInnerTile(box, move.tile.c); setInnerTile(box, move.tile.c);
box.style.rotate = move.tile.angle + "deg"; // box.style.rotate = move.tile.angle + "deg";
} }
function removeMove(move: Move) { function removeMove(move: Move) {