rearranged "switch to scene" and "pause all" blocks in the palette

snap7
jmoenig 2021-10-20 16:53:33 +02:00
rodzic bd58ec1f40
commit bcc819e918
2 zmienionych plików z 3 dodań i 4 usunięć

Wyświetl plik

@ -44,6 +44,7 @@
### 2021-10-20
* blocks: enable sending green-flag events when switching scenes
* blocks, objects, gui, threads: removed "When switched to this scene hat block"
* objects: rearranged "switch to scene" and "pause all" blocks in the palette
### 2021-10-19
* threads: enable sending green-flag events to specific sprites

Wyświetl plik

@ -2552,9 +2552,8 @@ SpriteMorph.prototype.blockTemplates = function (
blocks.push(block('newClone'));
blocks.push(block('removeClone'));
blocks.push('-');
blocks.push(block('doSwitchToScene'));
blocks.push('-');
blocks.push(block('doPauseAll'));
blocks.push(block('doSwitchToScene'));
// for debugging: ///////////////
if (devMode) {
@ -8797,9 +8796,8 @@ StageMorph.prototype.blockTemplates = function (
blocks.push(block('createClone'));
blocks.push(block('newClone'));
blocks.push('-');
blocks.push(block('doSwitchToScene'));
blocks.push('-');
blocks.push(block('doPauseAll'));
blocks.push(block('doSwitchToScene'));
// for debugging: ///////////////
if (this.world().isDevMode) {