mirror of
https://github.com/lovasoa/whitebophir
synced 2024-11-10 06:24:17 +00:00
resolve ellipse comment
This commit is contained in:
parent
991c37dc56
commit
8850dc2f49
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@
|
|||
var canvas = document.getElementById('canvas');
|
||||
function downloadFile(evt) {
|
||||
var styleNode = document.createElement("style");
|
||||
styleNode.innerHTML = "rect { fill:none; } path, line {fill: none;stroke-linecap: round; stroke-linejoin: round;}";
|
||||
styleNode.innerHTML = "rect, ellipse { fill:none; } path, line {fill: none;stroke-linecap: round; stroke-linejoin: round;}";
|
||||
canvas.appendChild(styleNode);
|
||||
var element = document.createElement('a');
|
||||
element.setAttribute('href', 'data:image/svg+xml;charset=utf-8,' + encodeURIComponent(canvas.outerHTML));
|
||||
|
|
Loading…
Reference in a new issue