Commit 7af0d1bf authored by christianrhansen's avatar christianrhansen

fixed resizing

parent b3ac2f1c
Pipeline #51624 passed with stage
in 1 minute and 23 seconds
......@@ -606,8 +606,10 @@
}
Object.assign(tempCell, {
width: (pos.x - tempCell.x + 1) > 1 ? pos.x - tempCell.x + 1 : 1,
height: (pos.y - tempCell.y + 1) > 1 ? pos.y - tempCell.y + 1 : 1
x: this.selectedCell.x,
y: this.selectedCell.y,
width: (pos.x - this.selectedCell.x + 1) > 1 ? pos.x - this.selectedCell.x + 1 : 1,
height: (pos.y - this.selectedCell.y + 1) > 1 ? pos.y - this.selectedCell.y + 1 : 1
})
Object.assign(resizeHandler, {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment