From 0e02329bedf6648259fd219642bb907bdb07fd21 Mon Sep 17 00:00:00 2001 From: xuri Date: Sun, 4 Jul 2021 12:13:06 +0800 Subject: This closes #861, support concurrency get cell picture and remove unused internal function `getSheetNameByID` --- shape.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shape.go') diff --git a/shape.go b/shape.go index f7e2ef3..e58d5cf 100644 --- a/shape.go +++ b/shape.go @@ -436,7 +436,7 @@ func (f *File) addDrawingShape(sheet, drawingXML, cell string, formatSet *format FPrintsWithSheet: formatSet.Format.FPrintsWithSheet, } content.TwoCellAnchor = append(content.TwoCellAnchor, &twoCellAnchor) - f.Drawings[drawingXML] = content + f.Drawings.Store(drawingXML, content) return err } -- cgit v1.2.1