kopia lustrzana https://github.com/backface/turtlestitch
Fixing #1890 - changin loading process for svg media to allow its later export
rodzic
93d96140ca
commit
3ec0a5eabc
4
gui.js
4
gui.js
|
@ -3347,8 +3347,8 @@ IDE_Morph.prototype.popupMediaImportDialog = function (folderName, items) {
|
|||
myself.getURL(
|
||||
url,
|
||||
function (txt) {
|
||||
img.src = 'data:image/svg+xml;utf8,' +
|
||||
encodeURIComponent(txt);
|
||||
img.src = 'data:image/svg+xml;base64,' +
|
||||
window.btoa(txt);
|
||||
}
|
||||
);
|
||||
} else {
|
||||
|
|
Ładowanie…
Reference in New Issue