fix grapheditor image export buh

This commit is contained in:
lxsang
2020-10-02 14:44:19 +00:00
parent 416ab0d93a
commit e3862fb0f5
8 changed files with 11 additions and 4 deletions

View File

@ -228,6 +228,7 @@ class GraphEditor extends this.OS.application.BaseApplication
svgToCanvas: (f) ->
img = new Image()
img.crossOrigin="anonymous"
svgStr = @svgtext()
DOMURL = window.URL || window.webkitURL || window
svgBlob = new Blob [svgStr], { type: 'image/svg+xml;charset=utf-8' }