Merge pull request #566 from Ni-zav/fix/548-property-selected-false-s20261010T084400Z-a6e9

# Conflicts:
#	crates/script/src/tests.rs
This commit is contained in:
Claude
2026-10-10 12:49:18 +00:00
3 changed files with 46 additions and 1 deletions
+3 -1
View File
@@ -581,7 +581,9 @@ PropertyBase.prototype = {
return false;
},
set selected(v) {
if (v) __call("prop.select", { comp: this.__layer.__comp, layer: this.__layer.__id, prop: this.__uid, add: true });
var ref = { comp: this.__layer.__comp, layer: this.__layer.__id, prop: this.__uid };
if (v) __call("prop.select", { comp: ref.comp, layer: ref.layer, prop: ref.prop, add: true });
else __call("prop.deselect", ref);
},
propertyGroup: function (n) {
var p = this;