summaryrefslogtreecommitdiff
path: root/picture.go
diff options
context:
space:
mode:
Diffstat (limited to 'picture.go')
-rw-r--r--picture.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/picture.go b/picture.go
index 71c3b8e..cac1af2 100644
--- a/picture.go
+++ b/picture.go
@@ -607,6 +607,7 @@ func (f *File) drawingResize(sheet string, cell string, width, height float64, f
}
}
if inMergeCell {
+ cellWidth, cellHeight = 0, 0
c, r = rng[0], rng[1]
for col := rng[0] - 1; col < rng[2]; col++ {
cellWidth += f.getColWidth(sheet, col)