X-Git-Url: https://git.auder.net/images/pieces/bundles/framework/css/body.css?a=blobdiff_plain;f=client%2Fsrc%2Fviews%2FAnalyse.vue;h=557a2df74d41f2b570eb52e1df4489afccb623af;hb=58bf4670c6bf01d94fe1f798cd5d63493d15e196;hp=c667290f1229d455a9c1be1153fade48e160be91;hpb=9a3049f3a48fa4b3627ef26ccdf213a8e550d478;p=vchess.git
diff --git a/client/src/views/Analyse.vue b/client/src/views/Analyse.vue
index c667290f..557a2df7 100644
--- a/client/src/views/Analyse.vue
+++ b/client/src/views/Analyse.vue
@@ -3,83 +3,113 @@ 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" ref="basegame")
+ input#fen(
+ v-model="curFen"
+ @input="adjustFenSize(); tryGotoFen()"
+ )
+ BaseGame(
+ ref="basegame"
+ :game="game"
+ @fenchange="setFen"
+ )
+
+