fix: remove redundant rotation
This commit is contained in:
parent
d53862e861
commit
a62659a055
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue