Skip to content
Snippets Groups Projects

Resolve "Bug: positionAllowed allows fields outside the grid"

Merged Julian requested to merge 10-bug-positionallowed-allows-fields-outside-the-grid into main
2 files
+ 2
2
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 1
1
@@ -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;
Loading