tweaked labels for "new costume" and "new sound" primitives

pull/89/head
jmoenig 2019-10-20 20:19:35 +02:00
rodzic d56b8de386
commit 6e3a36ac2b
2 zmienionych plików z 3 dodań i 2 usunięć

Wyświetl plik

@ -20,6 +20,7 @@
* threads: changed default name for new costumes created with STRETCH etc. to localized 'costume' * threads: changed default name for new costumes created with STRETCH etc. to localized 'costume'
* threads: generate stereo sounds * threads: generate stereo sounds
* threads: added list type assertion for samples to "new sound" primitive * threads: added list type assertion for samples to "new sound" primitive
* objects: tweaked labels for "new costume" and "new sound" primitives
### 2019-10-18 ### 2019-10-18
* objects, blocks, threads: added dimension getters for the stage * objects, blocks, threads: added dimension getters for the stage

Wyświetl plik

@ -315,7 +315,7 @@ SpriteMorph.prototype.initBlocks = function () {
reportNewCostume: { reportNewCostume: {
type: 'reporter', type: 'reporter',
category: 'looks', category: 'looks',
spec: 'new costume %l width: %dim height: %dim' spec: 'new costume %l width %dim height %dim'
}, },
reportNewCostumeStretched: { reportNewCostumeStretched: {
type: 'reporter', type: 'reporter',
@ -481,7 +481,7 @@ SpriteMorph.prototype.initBlocks = function () {
reportNewSoundFromSamples: { reportNewSoundFromSamples: {
type: 'reporter', type: 'reporter',
category: 'sound', category: 'sound',
spec: 'new sound %l at %rate Hz', spec: 'new sound %l sample rate %rate Hz',
defaults: [null, 44100] defaults: [null, 44100]
}, },
doRest: { doRest: {