X-Git-Url: https://git.auder.net/pieces/Checkered/cn.svg?a=blobdiff_plain;f=client%2Fsrc%2Fviews%2FAnalyse.vue;h=4307b9d039512f257f1079dc3ae8de5ea0c6d3b4;hb=09d375717c256a2cbd71a5d3b3a4e21aee17c0ec;hp=a4bdec231e5431e7cd2b792ca646101a6d986650;hpb=677fe285f1137d1d3e672dcf2dae3ac6e943be37;p=vchess.git
diff --git a/client/src/views/Analyse.vue b/client/src/views/Analyse.vue
index a4bdec23..4307b9d0 100644
--- a/client/src/views/Analyse.vue
+++ b/client/src/views/Analyse.vue
@@ -2,59 +2,47 @@
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(
+ :game="game"
+ @fenchange="setFen"
+ )
-
-