projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix highlighting checks when navigating
[vchess.git]
/
client
/
src
/
components
/
BaseGame.vue
diff --git
a/client/src/components/BaseGame.vue
b/client/src/components/BaseGame.vue
index
0372321
..
c4ffe5c
100644
(file)
--- 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();
}