X-Git-Url: https://git.auder.net/variants/Baroque/current/git-favicon.png?a=blobdiff_plain;f=client%2Fsrc%2Fcomponents%2FBaseGame.vue;h=595f9aa371c8861aaadcb8af5c90944f63085f28;hb=41c80bb63b85b2696d3925c10784c3d7bb5d2aa3;hp=1ea862fbe05264fd7de870a3c18984ea41c44d94;hpb=63ca2b89cfe577efd168c6b2e26750cb01b66d64;p=vchess.git
diff --git a/client/src/components/BaseGame.vue b/client/src/components/BaseGame.vue
index 1ea862fb..595f9aa3 100644
--- a/client/src/components/BaseGame.vue
+++ b/client/src/components/BaseGame.vue
@@ -1,12 +1,13 @@
-div#baseGame(tabindex=-1 @click="() => focusBg()" @keydown="handleKeys")
+div#baseGame(tabindex=-1 @click="() => focusBg()"
+ @keydown="handleKeys" @wheel="handleScroll")
input#modalEog.modal(type="checkbox")
- div(role="dialog" aria-labelledby="eogMessage")
+ div(role="dialog" data-checkbox="modalEog" aria-labelledby="eogMessage")
.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 +22,11 @@ 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")
+ .clearer
-