Fix:修复当节点数量比较多时,导出的图片中水印没有完全覆盖整个图片的问题
This commit is contained in:
parent
4d2665c98b
commit
9ea36a852f
@ -416,11 +416,11 @@ class MindMap {
|
|||||||
) {
|
) {
|
||||||
this.width = rect.width
|
this.width = rect.width
|
||||||
this.height = rect.height
|
this.height = rect.height
|
||||||
this.watermark.draw()
|
this.watermark.onResize()
|
||||||
clone = svg.clone()
|
clone = svg.clone()
|
||||||
this.width = origWidth
|
this.width = origWidth
|
||||||
this.height = origHeight
|
this.height = origHeight
|
||||||
this.watermark.draw()
|
this.watermark.onResize()
|
||||||
}
|
}
|
||||||
// 添加必要的样式
|
// 添加必要的样式
|
||||||
clone.add(SVG(`<style>${cssContent}</style>`))
|
clone.add(SVG(`<style>${cssContent}</style>`))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user