kopia lustrzana https://github.com/backface/turtlestitch
only refresh certain propagated inherited attributes on being dropped
rodzic
a0cbf2993c
commit
b44caed4b6
|
@ -3531,7 +3531,8 @@ Fixes:
|
|||
170712
|
||||
------
|
||||
* Blocks: fixed #1800. Thanks, Ken, for the bug report!
|
||||
* Objects, Threads: “new clone of ...” primitive, made TELL, ASK primitives official
|
||||
* Objects, Threads: “new clone of ...” primitive, made TELL, ASK primitives official
|
||||
* Objects: only refresh certain propagated inherited attributes on being dropped
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -4086,7 +4086,10 @@ SpriteMorph.prototype.justDropped = function () {
|
|||
}
|
||||
if (this.exemplar) {
|
||||
this.inheritedAttributes.forEach(function (att) {
|
||||
myself.refreshInheritedAttribute(att);
|
||||
if (contains(['direction', 'size', 'costume #'], att)) {
|
||||
// only refresh certain propagated attributes
|
||||
myself.refreshInheritedAttribute(att);
|
||||
}
|
||||
});
|
||||
}
|
||||
this.restoreLayers();
|
||||
|
|
Ładowanie…
Reference in New Issue