From: Benjamin Auder Date: Wed, 18 Mar 2020 13:34:03 +0000 (+0100) Subject: Fix highlighting checks when navigating X-Git-Url: https://git.auder.net/variants/Dynamo/doc/img/current/gitweb.js?a=commitdiff_plain;h=ea14297f666bf99ee7edf996d71cec45c71433cf;p=vchess.git Fix highlighting checks when navigating --- diff --git a/client/src/components/BaseGame.vue b/client/src/components/BaseGame.vue index 03723219..c4ffe5ca 100644 --- a/client/src/components/BaseGame.vue +++ b/client/src/components/BaseGame.vue @@ -393,6 +393,7 @@ export default { for (let i=0; i < move.length; i++) this.vr.play(move[i]); if (!light) { this.lastMove = move[move.length-1]; + this.incheck = this.vr.getCheckSquares(this.vr.turn); computeScore(); this.emitFenIfAnalyze(); }