Pman.Gnumeric.js
authorEdward <edward@roojs.com>
Thu, 11 Apr 2019 06:34:09 +0000 (14:34 +0800)
committerEdward <edward@roojs.com>
Thu, 11 Apr 2019 06:34:09 +0000 (14:34 +0800)
Pman.Gnumeric.js

index f8b1514..c08e582 100644 (file)
@@ -1292,6 +1292,8 @@ Roo.extend(Pman.Gnumeric, Roo.util.Observable, {
         this.grid[startRow][startCol].imageType = type;
         this.grid[startRow][startCol].width = width;
         this.grid[startRow][startCol].height = height;
+        this.grid[startRow][startCol].cols = Math.abs(endCol - startCol);
+        this.grid[startRow][startCol].rows = Math.abs(endRow - startRow);
         
         return true;
     },