Browse Source

resolve ellipse comment

dev_h
DanielHabenicht 4 years ago
parent
commit
8850dc2f49
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      client-data/tools/download/download.js

+ 1
- 1
client-data/tools/download/download.js View File

29
     var canvas = document.getElementById('canvas');
29
     var canvas = document.getElementById('canvas');
30
     function downloadFile(evt) {
30
     function downloadFile(evt) {
31
         var styleNode = document.createElement("style");
31
         var styleNode = document.createElement("style");
32
-        styleNode.innerHTML = "rect { fill:none; } path, line {fill: none;stroke-linecap: round; stroke-linejoin: round;}";
32
+        styleNode.innerHTML = "rect, ellipse { fill:none; } path, line {fill: none;stroke-linecap: round; stroke-linejoin: round;}";
33
         canvas.appendChild(styleNode);
33
         canvas.appendChild(styleNode);
34
         var element = document.createElement('a');
34
         var element = document.createElement('a');
35
         element.setAttribute('href', 'data:image/svg+xml;charset=utf-8,' + encodeURIComponent(canvas.outerHTML));
35
         element.setAttribute('href', 'data:image/svg+xml;charset=utf-8,' + encodeURIComponent(canvas.outerHTML));

Loading…
Cancel
Save