|
22 | 22 | DISABLEDFILLCOLOR, DISABLEDSTROKECOLOR, docById, DOUBLEFLAT, |
23 | 23 | DOUBLESHARP, DRUMNAMES, EASTINDIANSOLFNOTES, EFFECTSNAMES, |
24 | 24 | EXPANDBUTTON, FILTERTYPES, FLAT, getDrumName, getDrumSynthName, |
25 | | - getModeNumbers, getNoiseName, getTemperament, |
26 | | - getTemperamentKeys, getTemperamentsList, getTextWidth, hideDOMLabel, HIGHLIGHTSTROKECOLORS, |
| 25 | + getModeNumbers, getNoiseName, getTemperament, getTemperamentKeys, |
| 26 | + getTemperamentsList, getTextWidth, hideDOMLabel, HIGHLIGHTSTROKECOLORS, |
27 | 27 | i18nSolfege, INVERTMODES, isCustomTemperament, last, MEDIASAFEAREA, |
28 | 28 | NATURAL, NOISENAMES, NSYMBOLS, NUMBERBLOCKDEFAULT, OSCTYPES, |
29 | 29 | PALETTEFILLCOLORS, PALETTEHIGHLIGHTCOLORS, PALETTESTROKECOLORS, |
@@ -224,7 +224,7 @@ const _blockMakeBitmap = (data, callback, args) => { |
224 | 224 | callback(bitmap, args); |
225 | 225 | }; |
226 | 226 |
|
227 | | - img.src = "data:image/svg+xml;base64," + window.btoa(COLLAPSEBUTTON); |
| 227 | + img.src = "data:image/svg+xml;base64," + window.btoa(base64Encode(data)); |
228 | 228 | }; |
229 | 229 |
|
230 | 230 | /** |
@@ -962,7 +962,7 @@ class Block { |
962 | 962 |
|
963 | 963 | if (this.image.search("xmlns") !== -1) { |
964 | 964 | image.src = |
965 | | - "data:image/svg+xml;base64," + window.btoa(this.image); |
| 965 | + "data:image/svg+xml;base64," + window.btoa(window.base64Encode(this.image)); |
966 | 966 | } else { |
967 | 967 | image.src = this.image; |
968 | 968 | } |
@@ -1513,8 +1513,7 @@ class Block { |
1513 | 1513 | }; |
1514 | 1514 |
|
1515 | 1515 | image.src = |
1516 | | - "data:image/svg+xml;base64," + |
1517 | | - window.btoa(COLLAPSEBUTTON); |
| 1516 | + "data:image/svg+xml;base64," + window.btoa(base64Encode(COLLAPSEBUTTON)); |
1518 | 1517 | }; |
1519 | 1518 |
|
1520 | 1519 | /** |
@@ -1546,8 +1545,7 @@ class Block { |
1546 | 1545 | }; |
1547 | 1546 |
|
1548 | 1547 | image.src = |
1549 | | - "data:image/svg+xml;base64," + |
1550 | | - window.btoa(EXPANDBUTTON); |
| 1548 | + "data:image/svg+xml;base64," + window.btoa(base64Encode(EXPANDBUTTON)); |
1551 | 1549 | }; |
1552 | 1550 |
|
1553 | 1551 | /** |
|
0 commit comments