canvas dimensions stored but never used

This commit is contained in:
Gator
2022-01-13 14:24:43 +01:00
parent 7c9e215f0b
commit f41e415b32
2 changed files with 2 additions and 4 deletions

View File

@ -32,12 +32,12 @@ export default {
}),
boardWidth: function() {
return Math.floor(
this.canvas.width /
this.canvasWidth /
this.cellProperties.size)
},
boardHeight: function() {
return Math.floor(
this.canvas.height /
this.canvasHeight /
this.cellProperties.size)
}
},