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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user