X-Git-Url: https://git.auder.net/pieces/Cwda/c_white_queen.svg?a=blobdiff_plain;f=client%2Fsrc%2Fviews%2FAnalyse.vue;h=1605b584c08acb9d8ae329d3d14934d5a9a5b1e3;hb=2c5d7b20742b802d9c47916915c1114bcfc9a9c3;hp=035cd08954e7af4fe0808c24b34ace2d0c7d676c;hpb=604b951e4dc4647da9b251c5fff4ecb4c7b1b298;p=vchess.git
diff --git a/client/src/views/Analyse.vue b/client/src/views/Analyse.vue
index 035cd089..1605b584 100644
--- a/client/src/views/Analyse.vue
+++ b/client/src/views/Analyse.vue
@@ -3,83 +3,114 @@ main
.row
.col-sm-12
.text-center
- input#fen(v-model="curFen" @input="adjustFenSize()")
- button(@click="gotoFen()") {{ st.tr["Go"] }}
- BaseGame(:game="game" :vr="vr")
+ input#fen(
+ v-model="curFen"
+ @input="adjustFenSize(); tryGotoFen()"
+ )
+ BaseGame(
+ ref="basegame"
+ :game="game"
+ @fenchange="setFen"
+ )
+
+