X-Git-Url: https://git.auder.net/doc/index.css?a=blobdiff_plain;f=client%2Fsrc%2Fviews%2FAnalyse.vue;h=2f087b99d701d1fa783033da2e1f1fdb70b1bf2f;hb=af34341d92d47d14f396e7f4adb81f2a7e9d9a61;hp=035cd08954e7af4fe0808c24b34ace2d0c7d676c;hpb=604b951e4dc4647da9b251c5fff4ecb4c7b1b298;p=vchess.git
diff --git a/client/src/views/Analyse.vue b/client/src/views/Analyse.vue
index 035cd089..2f087b99 100644
--- a/client/src/views/Analyse.vue
+++ b/client/src/views/Analyse.vue
@@ -3,83 +3,115 @@ 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"
+ )
+
+