fixed exporting comment pics from inside the block editor, thanks, @jadga-h for the report!

snap7
jmoenig 2021-09-06 09:55:14 +02:00
rodzic 3b477404f5
commit 20add8767f
3 zmienionych plików z 9 dodań i 3 usunięć

Wyświetl plik

@ -24,6 +24,7 @@
* fixed occasional invisible error messages
* fixed audio_comp library "plot sound" block to work with translations, thanks, Hans, for the report!
* colors library: fixed SET PEN to work with more than a single sprite per costume, thanks, Jadga, for the report!
* fixed exporting comment pics from inside the block editor, thanks, Jadga, for the report!
* **Documentation Updates:**
* updated manual, thanks Brian!
* updated readme, thanks, Michael!
@ -31,6 +32,9 @@
* German
* Chinese, thanks, Simon!
### 2021-09-06
* blocks: fixed exporting comment pics from inside the block editor, thanks, Jadga, for the report!
### 2021-08-27
* colors library: fixed SET PEN to work with more than a single sprite per costume, thanks, Jadga, for the report!

Wyświetl plik

@ -16,7 +16,7 @@
<script src="src/morphic.js?version=2021-07-09"></script>
<script src="src/symbols.js?version=2021-03-03"></script>
<script src="src/widgets.js?version=2021-07-21"></script>
<script src="src/blocks.js?version=2021-07-05"></script>
<script src="src/blocks.js?version=2021-09-06"></script>
<script src="src/threads.js?version=2021-07-20"></script>
<script src="src/objects.js?version=2021-07-23"></script>
<script src="src/scenes.js?version=2021-07-21"></script>

Wyświetl plik

@ -160,7 +160,7 @@ CustomCommandBlockMorph, ToggleButtonMorph, DialMorph, SnapExtensions*/
// Global stuff ////////////////////////////////////////////////////////
modules.blocks = '2021-July-21';
modules.blocks = '2021-September-06';
var SyntaxElementMorph;
var BlockMorph;
@ -13309,7 +13309,9 @@ CommentMorph.prototype.userMenu = function () {
menu.addItem(
"comment pic...",
() => {
var ide = this.parentThatIsA(IDE_Morph);
var ide = this.parentThatIsA(IDE_Morph) ||
this.parentThatIsA(BlockEditorMorph)
.target.parentThatIsA(IDE_Morph);
ide.saveCanvasAs(
this.fullImage(),
(ide.projectName || localize('untitled')) + ' ' +