X-Git-Url: https://git.auder.net/?p=vchess.git;a=blobdiff_plain;f=client%2Fsrc%2Fcomponents%2FBoard.vue;h=bf43051a410cf1bc19cee266a0f84ac164086ff4;hp=d44234647c5779951421a6449002b6b26b2b4a1d;hb=71ef1664983cd58db3c3bbfdf6cb7c362474e9a5;hpb=e3e2cc443054cfb273b28b3ba46f559117c5ceae diff --git a/client/src/components/Board.vue b/client/src/components/Board.vue index d4423464..bf43051a 100644 --- a/client/src/components/Board.vue +++ b/client/src/components/Board.vue @@ -59,7 +59,7 @@ export default { } }, [...Array(sizeX).keys()].map(i => { - let ci = this.orientation == "w" ? i : sizeX - i - 1; + let ci = !V.CanFlip || this.orientation == "w" ? i : sizeX - i - 1; return h( "div", { @@ -69,7 +69,7 @@ export default { style: { opacity: this.choices.length > 0 ? "0.5" : "1" } }, [...Array(sizeY).keys()].map(j => { - let cj = this.orientation == "w" ? j : sizeY - j - 1; + let cj = !V.CanFlip || this.orientation == "w" ? j : sizeY - j - 1; let elems = []; if ( this.vr.board[ci][cj] != V.EMPTY &&