added ASK-menu data representation for Sounds

snap8
Jens Mönig 2022-04-01 10:20:00 +02:00
rodzic 2bc395fe14
commit ed6e079f0f
2 zmienionych plików z 3 dodań i 0 usunięć

Wyświetl plik

@ -32,6 +32,7 @@
### 2022-04-01
* objects: added ASK-menu data representation for Booleans
* objects: added ASK-menu data representation for Sounds
### 2022-03-31
* threads, objects: new menu functionality for ASK command, when passing a list

Wyświetl plik

@ -12930,6 +12930,8 @@ StagePickerMorph.prototype.dataRepresentation = function (data) {
sym.edge *= this.scale;
sym.fixLayout();
return sym.fullImage();
case 'sound':
return (new SymbolMorph('notes', 30 * this.scale)).fullImage();
default:
return data.toString();
}