From: Benjamin Auder Date: Thu, 9 Apr 2020 14:59:09 +0000 (+0200) Subject: Fix enter/exit analyze mode in the middle of a multi-move X-Git-Url: https://git.auder.net/css/vendor/img/js/index.js?a=commitdiff_plain;h=0e912cb2584b4c18c0b3a8dec32b86fc8780bc66;p=vchess.git Fix enter/exit analyze mode in the middle of a multi-move --- diff --git a/client/src/components/BaseGame.vue b/client/src/components/BaseGame.vue index 7424aa40..a1af478f 100644 --- a/client/src/components/BaseGame.vue +++ b/client/src/components/BaseGame.vue @@ -281,6 +281,7 @@ export default { fen = mv[mv.length-1].fen; } this.vr = new V(fen); + this.inMultimove = false; //in case of this.incheck = this.vr.getCheckSquares(); if (this.cursor >= 0) this.lastMove = this.moves[this.cursor]; else this.lastMove = null;