:incheck="incheck"
@play-move="play"
@click-square="clickSquare"
+ @rendered="adjustSize"
)
#turnIndicator(v-if="showTurn") {{ turn }}
#controls.button-group
p#fenAnalyze(v-show="showFen") {{ (!!vr ? vr.getFen() : "") }}
#movesList
MoveList(
+ ref="moveslist"
:show="showMoves"
:canAnalyze="canAnalyze"
:canDownload="allowDownloadPGN"
if (e.deltaY < 0) this.undo();
else if (e.deltaY > 0) this.play();
},
+ adjustSize: function() {
+ this.$refs["moveslist"].adjustBoard("vertical");
+ },
redrawBoard: function() {
this.$refs["board"].re_setDrawings();
},