kopia lustrzana https://github.com/backface/turtlestitch
removed options "1" and "last" from "switch to scene" dropdown
rodzic
f3cb83b8dc
commit
ed71022b95
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
|
|
|
@ -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;
|
||||
|
|
Ładowanie…
Reference in New Issue