projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
More adapted confirm div size: follow current board size
[vchess.git]
/
client
/
src
/
views
/
Game.vue
diff --git
a/client/src/views/Game.vue
b/client/src/views/Game.vue
index
d62e2ca
..
282a371
100644
(file)
--- a/
client/src/views/Game.vue
+++ b/
client/src/views/Game.vue
@@
-1183,6
+1183,8
@@
export default {
position: position,
orientation: V.CanFlip ? this.game.mycolor : "w"
});
position: position,
orientation: V.CanFlip ? this.game.mycolor : "w"
});
+ document.querySelector("#confirmDiv > .card").style.width =
+ boardDiv.offsetWidth + "px";
} else {
// Incomplete information: just ask confirmation
// Hide the board, because otherwise it could reveal infos
} else {
// Incomplete information: just ask confirmation
// Hide the board, because otherwise it could reveal infos