correctly identify list slots in primitives

snap8
Jens Mönig 2022-05-29 21:45:27 +02:00
rodzic 7099c046e2
commit 7c31ace866
2 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -54,6 +54,7 @@
### 2022-05-29
* blocks, threads: new "slots" choice in the OF BLOCK block-attribute reporter's dropdown
* blocks, threads: programmatically change slot shapes in custom blocks
* blocks: correctly identify list slots in primitives
### 2022-05-28
* new extension primitive for importing a costume from a url

Wyświetl plik

@ -8670,7 +8670,7 @@ ArgMorph.prototype.justDropped = function () {
// ArgMorph spec extrapolation (for demo purposes)
ArgMorph.prototype.getSpec = function () {
return '%s'; // default
return this.type === 'list' ? '%l' : '%s'; // default
};
// ArgMorph menu