diff --git a/public/js/components/Dashboard/Section.js b/public/js/components/Dashboard/Section.js index 2a531c45e..27ac148d4 100644 --- a/public/js/components/Dashboard/Section.js +++ b/public/js/components/Dashboard/Section.js @@ -241,8 +241,8 @@ export default { this.gridYLast = gridY; if (action == 'm') { - x = gridX + 1; - y = gridY + 1; + x = Math.max(gridX + 1, 1); + y = Math.max(gridY + 1, 1); w = parseInt(this.dataTransfer.w); h = parseInt(this.dataTransfer.h);