Skip to content
Snippets Groups Projects
Verified Commit cae6fab4 authored by Jonathan Weth's avatar Jonathan Weth :keyboard:
Browse files

Reformat

parent 3fc65b0f
No related branches found
No related tags found
1 merge request!39Resolve "Bug: positionAllowed allows fields outside the grid"
Pipeline #197877 passed
......@@ -144,7 +144,7 @@ export default {
},
methods: {
positionAllowed(x, y, key) {
if (x <=0 || y <= 0) return false;
if (x <= 0 || y <= 0) return false;
if (x > this.cols) return false;
if (y > this.rows) return false;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment