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