X-Git-Url: https://git.auder.net/pieces/Cwda/n_white_knight.svg?a=blobdiff_plain;f=client%2Fsrc%2Fcomponents%2FMoveList.vue;h=6c99975593c091135b0500be9c04180a8506f8cb;hb=af34341d92d47d14f396e7f4adb81f2a7e9d9a61;hp=4c351dd51cf54207fcd242d125a0bb85fac57bbc;hpb=1ef65040168ab7d55ce921abc9d63644a937d689;p=vchess.git diff --git a/client/src/components/MoveList.vue b/client/src/components/MoveList.vue index 4c351dd5..6c999755 100644 --- a/client/src/components/MoveList.vue +++ b/client/src/components/MoveList.vue @@ -45,7 +45,7 @@ div span.score-msg {{ st.tr[message] }} .moves-list(v-if="!['none','highlight'].includes(show)") .tr(v-for="moveIdx in evenNumbers") - .td {{ firstNum + moveIdx / 2 + 1 }} + .td {{ firstNum + moveIdx / 2 }} .td(v-if="moveIdx < moves.length-1 || show == 'all'" :class="{'highlight-lm': cursor == moveIdx}" @click="() => gotoMove(moveIdx)" @@ -56,7 +56,7 @@ div :class="{'highlight-lm': highlightBlackmove(moveIdx+1)}" @click="() => gotoMove(moveIdx+1)" ) - | {{ notation(moves[moveIdx+1]) }} + | {{ notation(moves[moveIdx + 1]) }}