X-Git-Url: https://git.auder.net/doc/current/git-logo.png?a=blobdiff_plain;f=client%2Fsrc%2Fviews%2FAnalyse.vue;h=1605b584c08acb9d8ae329d3d14934d5a9a5b1e3;hb=2c5d7b20742b802d9c47916915c1114bcfc9a9c3;hp=2f68cdea5a9e02973497d79b40cc88061da092de;hpb=9ddaf8da8743c50b9019888a82d84392913c60c9;p=vchess.git
diff --git a/client/src/views/Analyse.vue b/client/src/views/Analyse.vue
index 2f68cdea..1605b584 100644
--- a/client/src/views/Analyse.vue
+++ b/client/src/views/Analyse.vue
@@ -2,89 +2,115 @@
main
.row
.col-sm-12
- #fenDiv
- input#fen(v-model="curFen" @input="adjustFenSize")
- button(@click="gotoFen()") {{ st.tr["Go"] }}
- BaseGame(:game="game" :vr="vr" ref="basegame")
+ .text-center
+ input#fen(
+ v-model="curFen"
+ @input="adjustFenSize(); tryGotoFen()"
+ )
+ BaseGame(
+ ref="basegame"
+ :game="game"
+ @fenchange="setFen"
+ )
-