mirror of
https://github.com/storytold/effectcraft.git
synced 2026-10-14 19:27:05 -04:00
fix(script): route usedIn composition references through identity cache
This commit is contained in:
1 parent
d347afb2cb
commit
40e9e7786b
1 file changed
+1
-1
@@ -1376,7 +1376,7 @@ Item.prototype = {
|
||||
__call("project.select", { items: selection.filter(function (item) { return item !== id; }) });
|
||||
}
|
||||
},
|
||||
get usedIn() { return this.__info().usedIn.map(function (c) { return new CompItem(c); }); },
|
||||
get usedIn() { return this.__info().usedIn.map(function (c) { return __item(c); }); },
|
||||
remove: function () { __call("project.delete", { items: [this.__id] }); },
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user