Commit f711ea6c authored by christianrhansen's avatar christianrhansen

mosys mobile: accurate resizable selected cells (deselect not working)

parent bdbedf71
Pipeline #20084 passed with stage
in 1 minute and 27 seconds
...@@ -449,8 +449,9 @@ ...@@ -449,8 +449,9 @@
'cellHandler.resize.gridPosition': { 'cellHandler.resize.gridPosition': {
handler: function (obj) { handler: function (obj) {
if (this.showEditingCells) { if (this.showEditingCells) {
console.log(obj) let w = obj.column - this.cellHandler.move.gridPosition.column + 1
this.mobileCellResize(this.mobileSelectedCell, obj.column, obj.row) let h = obj.row - this.cellHandler.move.gridPosition.row + 1
this.mobileCellResize(this.mobileSelectedCell, w, h)
} }
}, },
deep: true deep: true
......
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