kopia lustrzana https://github.com/backface/turtlestitch
normalize project thumbnails (when saving in retina mode)
rodzic
97a6c61dd4
commit
b6e7254a9e
7
store.js
7
store.js
|
@ -61,7 +61,7 @@ normalizeCanvas*/
|
||||||
|
|
||||||
// Global stuff ////////////////////////////////////////////////////////
|
// Global stuff ////////////////////////////////////////////////////////
|
||||||
|
|
||||||
modules.store = '2016-July-07';
|
modules.store = '2016-July-12';
|
||||||
|
|
||||||
|
|
||||||
// XML_Serializer ///////////////////////////////////////////////////////
|
// XML_Serializer ///////////////////////////////////////////////////////
|
||||||
|
@ -1442,7 +1442,10 @@ Array.prototype.toXML = function (serializer) {
|
||||||
// Sprites
|
// Sprites
|
||||||
|
|
||||||
StageMorph.prototype.toXML = function (serializer) {
|
StageMorph.prototype.toXML = function (serializer) {
|
||||||
var thumbnail = this.thumbnail(SnapSerializer.prototype.thumbnailSize),
|
var thumbnail = normalizeCanvas(
|
||||||
|
this.thumbnail(SnapSerializer.prototype.thumbnailSize),
|
||||||
|
true
|
||||||
|
),
|
||||||
thumbdata,
|
thumbdata,
|
||||||
ide = this.parentThatIsA(IDE_Morph);
|
ide = this.parentThatIsA(IDE_Morph);
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue