diff --git a/public/board.js b/public/board.js index 2fb7155..18d9b89 100644 --- a/public/board.js +++ b/public/board.js @@ -79,8 +79,8 @@ class Board{ name: name, x: positionX, y: positionY, - width: cardWidth/2, - height: cardHeight/2, + width: width, + height: height, fillStyle: fill });