X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fcomponents%2FBaseGame.vue;h=27821c3af07a847114a89d192c862ca2f94bce3d;hb=cf94b843f223b34fd2f3680112a183f6d5cd409c;hp=608a98d464ebff3410336c9b7ff3dc66f6176d4d;hpb=3837d4f7885a3c3cdb468da2f3fa3fa1e5a1415a;p=vchess.git diff --git a/client/src/components/BaseGame.vue b/client/src/components/BaseGame.vue index 608a98d4..27821c3a 100644 --- a/client/src/components/BaseGame.vue +++ b/client/src/components/BaseGame.vue @@ -5,8 +5,8 @@ div#baseGame(tabindex=-1 @click="() => focusBg()" @keydown="handleKeys") .card.smallpad.small-modal.text-center label.modal-close(for="modalEog") h3#eogMessage.section {{ endgameMessage }} - .row - #boardContainer.col-sm-12.col-md-9 + #gameContainer + #boardContainer Board(:vr="vr" :last-move="lastMove" :analyze="game.mode=='analyze'" :user-color="game.mycolor" :orientation="orientation" :vname="game.vname" @play-move="play") @@ -21,9 +21,12 @@ div#baseGame(tabindex=-1 @click="() => focusBg()" @keydown="handleKeys") button(@click="download") {{ st.tr["Download PGN"] }} button(v-if="game.mode!='analyze'" @click="analyzePosition") | {{ st.tr["Analyze"] }} - .col-sm-12.col-md-3 + #movesList MoveList(v-if="showMoves" :score="game.score" :message="game.scoreMsg" - :moves="moves" :cursor="cursor" @goto-move="gotoMove") + :firstNum="firstMoveNumber" :moves="moves" :cursor="cursor" + @goto-move="gotoMove") + // TODO: clearer required ?! + .clearer