Effects targeting calculations by tag now work in the engine and actions
This commit is contained in:
@@ -21,6 +21,7 @@ const applyPropertyByType = {
|
||||
toggle,
|
||||
};
|
||||
|
||||
export default function applyProperty(node, ...args){
|
||||
return applyPropertyByType[node.node.type]?.(node, ...args);
|
||||
export default function applyProperty(node, opts, ...rest){
|
||||
opts.scope[`#${node.node.type}`] = node.node;
|
||||
return applyPropertyByType[node.node.type]?.(node, opts, ...rest);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user