X-Git-Url: https://git.auder.net/?p=vchess.git;a=blobdiff_plain;f=client%2Fsrc%2Fcomponents%2FComputerGame.vue;h=0d566a8131066f5a060a26f3fd8b99da40d0590a;hp=4d354713be2240fcba325b1b1597bdc75745e5e2;hb=20620465247585ed4e845885c4d9fee8cd6920c1;hpb=8a0f881d7d2729cb421c6c1efcf51e6820ef005d diff --git a/client/src/components/ComputerGame.vue b/client/src/components/ComputerGame.vue index 4d354713..0d566a81 100644 --- a/client/src/components/ComputerGame.vue +++ b/client/src/components/ComputerGame.vue @@ -57,8 +57,8 @@ export default { const delay = Math.max(500 - (Date.now() - this.timeStart), 0); setTimeout(() => { if (this.currentUrl != document.location.href) return; //page change - // NOTE: Dark and 2-moves are incompatible - const animate = this.gameInfo.vname != "Dark"; + // NOTE: do not animate move if special display (ShowMoves != "all") + const animate = V.ShowMoves == "all"; const animDelay = animate ? 250 : 0; let moveIdx = 0; let self = this;