update global custom blocks in data

snap8
Jens Mönig 2022-05-19 10:12:33 +02:00
rodzic da9ed146a7
commit 553d84997c
2 zmienionych plików z 5 dodań i 1 usunięć

Wyświetl plik

@ -51,6 +51,7 @@
### 2022-05-19
* blocks, lists, objects, threads: made global Contexts observable
* gui: pushed dev version to 8
* byob: update global custom blocks in data
### 2022-05-17
* blocks: added experimental private isChangeableTo(type) method

Wyświetl plik

@ -111,7 +111,7 @@ ArgLabelMorph*/
// Global stuff ////////////////////////////////////////////////////////
modules.byob = '2022-May-03';
modules.byob = '2022-May-19';
// Declarations
@ -2669,6 +2669,9 @@ BlockEditorMorph.prototype.refreshAllBlockInstances = function (oldSpec) {
this.target.allBlockInstances(this.definition).reverse().forEach(
block => block.refresh()
);
this.target.parentThatIsA(StageMorph).allContextsUsing(def).forEach(
context => context.changed()
);
} else {
this.target.allDependentInvocationsOf(oldSpec).reverse().forEach(
block => block.refresh(def)