X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fviews%2FGame.vue;h=11a59258a8f1d2dc793de76897cf9dd3ad48bd45;hb=HEAD;hp=2968b8f835a1b1a94b4bee7f29500322838f2e72;hpb=2a2936023cda0888e215ff699d420090372899b0;p=vchess.git diff --git a/client/src/views/Game.vue b/client/src/views/Game.vue index 2968b8f8..11a59258 100644 --- a/client/src/views/Game.vue +++ b/client/src/views/Game.vue @@ -374,7 +374,7 @@ export default { id: my.id, name: my.name, tmpIds: { - tmpId: { focus: true } + [tmpId]: { focus: true } } } ); @@ -1447,7 +1447,7 @@ export default { ? this.repeat[fenObj] + 1 : 1; if (this.repeat[fenObj] >= 3) { - if (this.vr.loseOnRepetition()) + if (this.vr.loseOnRepetition) this.gameOver(moveCol == "w" ? "0-1" : "1-0", "Repetition"); else this.drawOffer = "threerep"; } @@ -1619,7 +1619,8 @@ export default { this.curDiag = getDiagram({ position: position, orientation: V.CanFlip ? this.game.mycolor : "w", - darkBottomRight: V.DarkBottomRight + color: this.game.mycolor, + score: "*" }); document.querySelector("#confirmDiv > .card").style.width = boardDiv.offsetWidth + "px";