fixed "peeling off" niladic custom block instances from prototype templates

pull/95/head
jmoenig 2021-05-04 18:40:05 +02:00
rodzic 1be757afe4
commit 860af47a45
2 zmienionych plików z 3 dodań i 1 usunięć

Wyświetl plik

@ -4,6 +4,7 @@
### 2021-05-04
* new dev version
* gui: fixed "peeling off" niladic custom block instances from prototype templates
## 6.8.0
* **New Features:**

Wyświetl plik

@ -106,7 +106,7 @@ WatcherMorph, XML_Serializer, SnapTranslator*/
// Global stuff ////////////////////////////////////////////////////////
modules.byob = '2021-April-20';
modules.byob = '2021-May-04';
// Declarations
@ -663,6 +663,7 @@ CustomCommandBlockMorph.prototype.reactToTemplateCopy = function () {
if (this.isPrototype) {
def = this.definition;
this.isPrototype = false;
this.setSpec(' ');
this.refresh();
this.refreshDefaults(def);
}