fixed costume names and thumbnails for computed costumes

pull/89/head
jmoenig 2019-05-13 01:31:23 +02:00
rodzic 41ceb98f86
commit 9344d7677f
3 zmienionych plików z 9 dodań i 3 usunięć

Wyświetl plik

@ -78,6 +78,9 @@
* German
* French
### 2019-05-09
* Threads: fixed costume names and thumbnails for computed costumes
### 2019-05-09
* Blocks, Objects, Threads: tweaked new video-snap (still capture) feature
* Objects: fixed video still "snap on sprite" for Firefox

Wyświetl plik

@ -7,7 +7,7 @@
<script type="text/javascript" src="src/morphic.js?version=2019-02-07"></script>
<script type="text/javascript" src="src/widgets.js?version=2019-04-05"></script>
<script type="text/javascript" src="src/blocks.js?version=2019-05-08"></script>
<script type="text/javascript" src="src/threads.js?version=2019-05-09"></script>
<script type="text/javascript" src="src/threads.js?version=2019-05-13"></script>
<script type="text/javascript" src="src/objects.js?version=2019-05-09_2"></script>
<script type="text/javascript" src="src/gui.js?version=2019-05-09"></script>
<script type="text/javascript" src="src/paint.js?version=2019-02-22"></script>

Wyświetl plik

@ -61,7 +61,7 @@ StageMorph, SpriteMorph, StagePrompterMorph, Note, modules, isString, copy,
isNil, WatcherMorph, List, ListWatcherMorph, alert, console, TableMorph, Color,
TableFrameMorph, ColorSlotMorph, isSnapObject, Map, newCanvas, Symbol*/
modules.threads = '2019-May-09';
modules.threads = '2019-May-13';
var ThreadManager;
var Process;
@ -4746,7 +4746,10 @@ Process.prototype.reportNewCostume = function (pixels, width, height) {
}
}
ctx.putImageData(dta, 0, 0);
return new Costume(canvas);
return new Costume(
canvas,
this.blockReceiver().newCostumeName(localize('snap')) // +++
);
};
// Process constant input options