This commit is contained in:
Kyle
2020-07-24 17:32:37 -07:00
parent b40048d247
commit 5329616139
3 changed files with 10 additions and 6 deletions

View File

@@ -236,10 +236,10 @@ class cardText {
}
function scaleX(xToScale) {
return xToScale * cardWidth
return Math.round(xToScale * cardWidth)
}
function scaleY(yToScale) {
return yToScale * cardHeight
return Math.round(yToScale * cardHeight)
}
function drawCardObjects() {