kopia lustrzana https://github.com/backface/turtlestitch
update global custom blocks in data
rodzic
da9ed146a7
commit
553d84997c
|
@ -51,6 +51,7 @@
|
||||||
### 2022-05-19
|
### 2022-05-19
|
||||||
* blocks, lists, objects, threads: made global Contexts observable
|
* blocks, lists, objects, threads: made global Contexts observable
|
||||||
* gui: pushed dev version to 8
|
* gui: pushed dev version to 8
|
||||||
|
* byob: update global custom blocks in data
|
||||||
|
|
||||||
### 2022-05-17
|
### 2022-05-17
|
||||||
* blocks: added experimental private isChangeableTo(type) method
|
* blocks: added experimental private isChangeableTo(type) method
|
||||||
|
|
|
@ -111,7 +111,7 @@ ArgLabelMorph*/
|
||||||
|
|
||||||
// Global stuff ////////////////////////////////////////////////////////
|
// Global stuff ////////////////////////////////////////////////////////
|
||||||
|
|
||||||
modules.byob = '2022-May-03';
|
modules.byob = '2022-May-19';
|
||||||
|
|
||||||
// Declarations
|
// Declarations
|
||||||
|
|
||||||
|
@ -2669,6 +2669,9 @@ BlockEditorMorph.prototype.refreshAllBlockInstances = function (oldSpec) {
|
||||||
this.target.allBlockInstances(this.definition).reverse().forEach(
|
this.target.allBlockInstances(this.definition).reverse().forEach(
|
||||||
block => block.refresh()
|
block => block.refresh()
|
||||||
);
|
);
|
||||||
|
this.target.parentThatIsA(StageMorph).allContextsUsing(def).forEach(
|
||||||
|
context => context.changed()
|
||||||
|
);
|
||||||
} else {
|
} else {
|
||||||
this.target.allDependentInvocationsOf(oldSpec).reverse().forEach(
|
this.target.allDependentInvocationsOf(oldSpec).reverse().forEach(
|
||||||
block => block.refresh(def)
|
block => block.refresh(def)
|
||||||
|
|
Ładowanie…
Reference in New Issue