X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fcomponents%2FBoard.vue;h=fdeeef319b7bcdcfc8dd2f29a044e7f9ce4370fc;hb=afbf3ca7151ef15a9e579b0f913683ab212396c4;hp=f2fd44c3be74963a7db27c255b8cad26452bbbe8;hpb=fabb53f2e009b79c2c87ea7683e45b3202d4a934;p=vchess.git diff --git a/client/src/components/Board.vue b/client/src/components/Board.vue index f2fd44c3..fdeeef31 100644 --- a/client/src/components/Board.vue +++ b/client/src/components/Board.vue @@ -275,9 +275,10 @@ export default { if (!!this.vr.reserve) elementArray.push(reserveBottom); const boardElt = document.querySelector(".game"); if (this.choices.length > 0 && !!boardElt) { - //no choices to show at first drawing + // No choices to show at first drawing const squareWidth = boardElt.offsetWidth / sizeY; const offset = [boardElt.offsetTop, boardElt.offsetLeft]; + // TODO: multi-rows if more than V.size.y pieces (as inEightpieces) const choices = h( "div", {