kopia lustrzana https://github.com/backface/turtlestitch
enable exporting script pics in the newest Chrome version
which disables opening tabs on dataURLs. The basic Morphic export picture mechanism is thus also no longer possible in Chrome. Browsers are evil.upd4.1
rodzic
9146cbf884
commit
d1ba030eeb
10
blocks.js
10
blocks.js
|
@ -148,7 +148,7 @@ CustomCommandBlockMorph, SymbolMorph*/
|
|||
|
||||
// Global stuff ////////////////////////////////////////////////////////
|
||||
|
||||
modules.blocks = '2017-August-02';
|
||||
modules.blocks = '2017-August-03';
|
||||
|
||||
var SyntaxElementMorph;
|
||||
var BlockMorph;
|
||||
|
@ -1973,7 +1973,7 @@ SyntaxElementMorph.prototype.exportPictureWithResult = function (aBubble) {
|
|||
ide.saveCanvasAs(
|
||||
pic,
|
||||
ide.projetName || localize('Untitled') + ' ' + localize('script pic'),
|
||||
true
|
||||
false
|
||||
);
|
||||
};
|
||||
|
||||
|
@ -2553,7 +2553,7 @@ BlockMorph.prototype.userMenu = function () {
|
|||
myself.topBlock().scriptPic(),
|
||||
ide.projetName || localize('Untitled') + ' ' +
|
||||
localize('script pic'),
|
||||
true // request new window
|
||||
false // request new window
|
||||
);
|
||||
},
|
||||
'open a new window\nwith a picture of this script'
|
||||
|
@ -6308,7 +6308,7 @@ ScriptsMorph.prototype.exportScriptsPicture = function () {
|
|||
pic,
|
||||
ide.projetName || localize('Untitled') + ' ' +
|
||||
localize('script pic'),
|
||||
true // request new window
|
||||
false // request new window
|
||||
);
|
||||
}
|
||||
};
|
||||
|
@ -11657,7 +11657,7 @@ CommentMorph.prototype.userMenu = function () {
|
|||
myself.fullImageClassic(),
|
||||
ide.projetName || localize('Untitled') + ' ' +
|
||||
localize('comment pic'),
|
||||
true // request new window
|
||||
false // request new window
|
||||
);
|
||||
},
|
||||
'open a new window\nwith a picture of this comment'
|
||||
|
|
|
@ -3580,6 +3580,10 @@ Fixes:
|
|||
* GUI, Widgets: Changed piano keyboard design credits to Lucas Karahadian
|
||||
* GUI: fixed #1820
|
||||
|
||||
170803
|
||||
------
|
||||
* enable exporting script pics in the newest Chrome version, which disables opening tabs on dataURLs
|
||||
|
||||
|
||||
Features:
|
||||
* polymorphic sprite-local custom blocks
|
||||
|
|
Ładowanie…
Reference in New Issue