From ea14297f666bf99ee7edf996d71cec45c71433cf Mon Sep 17 00:00:00 2001 From: Benjamin Auder <benjamin.auder@somewhere> Date: Wed, 18 Mar 2020 14:34:03 +0100 Subject: [PATCH] Fix highlighting checks when navigating --- client/src/components/BaseGame.vue | 1 + 1 file changed, 1 insertion(+) 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(); } -- 2.44.0