X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fcomponents%2FBoard.vue;h=86c2accac390003759c62b43686388647a46c229;hb=57eb158fe8e37daaae11685df846003cda4aba19;hp=640ccca1e26345137c607e94fc96d372aaef32eb;hpb=311cba767e3c461edb0c8c758bfb193ef670a68f;p=vchess.git diff --git a/client/src/components/Board.vue b/client/src/components/Board.vue index 640ccca1..86c2acca 100644 --- a/client/src/components/Board.vue +++ b/client/src/components/Board.vue @@ -48,7 +48,10 @@ export default { }); const lm = this.lastMove; - const showLight = this.settings.highlight && V.ShowMoves == "all"; + const showLight = ( + this.settings.highlight && + ["all","highlight"].includes(V.ShowMoves) + ); const orientation = !V.CanFlip ? "w" : this.orientation; // Ensure that squares colors do not change when board is flipped const lightSquareMod = (sizeX + sizeY) % 2;