kopia lustrzana https://github.com/backface/turtlestitch
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
rodzic
20313ae29b
commit
c7542642f7
4
gui.js
4
gui.js
|
@ -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);
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
);
|
||||
}
|
||||
);
|
||||
|
|
Ładowanie…
Reference in New Issue