removed options "1" and "last" from "switch to scene" dropdown

snap7
jmoenig 2021-10-20 17:33:15 +02:00
rodzic f3cb83b8dc
commit ed71022b95
3 zmienionych plików z 5 dodań i 2 usunięć

Wyświetl plik

@ -46,6 +46,7 @@
* blocks, objects, gui, threads: removed "When switched to this scene hat block"
* objects: rearranged "switch to scene" and "pause all" blocks in the palette
* updated German translation (removed "when switched to this scene")
* blocks, threads: removed options "1" and "last" from "switch to scene" dropdown
### 2021-10-19
* threads: enable sending green-flag events to specific sprites

Wyświetl plik

@ -9810,8 +9810,8 @@ InputSlotMorph.prototype.scenesMenu = function (searching) {
dict['~'] = null;
dict.next = ['next'];
dict.previous = ['previous'];
dict['1 '] = 1; // trailing space needed to prevent undesired sorting
dict.last = ['last'];
// dict['1 '] = 1; // trailing space needed to prevent undesired sorting
// dict.last = ['last'];
dict.random = ['random'];
return dict;
};

Wyświetl plik

@ -4727,9 +4727,11 @@ Process.prototype.doSwitchToScene = function (id, transmission) {
idx = scenes.length();
}
break;
/*
case 'last':
idx = scenes.length();
break;
*/
case 'random':
idx = this.reportBasicRandom(1, scenes.length());
break;