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/js/css/img/%7B%7B%20path%28%27fos_user_security_login%27%29%20%7D%7D?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;