X-Git-Url: https://git.auder.net/assets/rpsls.css?a=blobdiff_plain;ds=sidebyside;f=client%2Fsrc%2Fviews%2FAnalyse.vue;h=1605b584c08acb9d8ae329d3d14934d5a9a5b1e3;hb=5a187b07e221493931cf089bf85ef6db41d8b775;hp=a4bdec231e5431e7cd2b792ca646101a6d986650;hpb=677fe285f1137d1d3e672dcf2dae3ac6e943be37;p=vchess.git
diff --git a/client/src/views/Analyse.vue b/client/src/views/Analyse.vue
index a4bdec23..1605b584 100644
--- a/client/src/views/Analyse.vue
+++ b/client/src/views/Analyse.vue
@@ -2,90 +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"
+ )
-