enable exporting costumes and variable-data

in the newest Chrome version, which disables opening tabs on dataURLs
(did I miss any more isntances of this?)
upd4.1
Jens Mönig 2017-08-29 10:33:02 +02:00
rodzic 20313ae29b
commit c7542642f7
3 zmienionych plików z 5 dodań i 4 usunięć

4
gui.js
Wyświetl plik

@ -74,7 +74,7 @@ isRetinaSupported, SliderMorph, Animation*/
// Global stuff ////////////////////////////////////////////////////////
modules.gui = '2017-August-04';
modules.gui = '2017-August-29';
// Declarations
@ -7237,7 +7237,7 @@ CostumeIconMorph.prototype.exportCostume = function () {
// don't show SVG costumes in a new tab (shows text)
ide.saveFileAs(this.object.contents.src, 'text/svg', this.object.name);
} else { // rasterized Costume
ide.saveCanvasAs(this.object.contents, this.object.name, true);
ide.saveCanvasAs(this.object.contents, this.object.name, false);
}
};

Wyświetl plik

@ -3591,6 +3591,7 @@ Fixes:
170829
------
* Threads: allow two-item lists as x-y coordinate arguments for “distance to” reporter
* GUI, Objects: enable exporting costumes and variable-data in the newest Chrome version, which disables opening tabs on dataURLs
Features:

Wyświetl plik

@ -82,7 +82,7 @@ SpeechBubbleMorph, RingMorph, isNil, FileReader, TableDialogMorph,
BlockEditorMorph, BlockDialogMorph, PrototypeHatBlockMorph, localize,
TableMorph, TableFrameMorph, normalizeCanvas, BooleanSlotMorph, HandleMorph*/
modules.objects = '2017-July-31';
modules.objects = '2017-August-29';
var SpriteMorph;
var StageMorph;
@ -9316,7 +9316,7 @@ WatcherMorph.prototype.userMenu = function () {
myself.currentValue.toString(),
'text/plain;charset=utf-8',
myself.getter, // variable name
true
false
);
}
);