1
0
Fork 0

Nasal: extend props.Node alias() API

Add optional argument to specify if lisenters should work
on aliased properties or not. Current default is false for
backwards compatability.
This commit is contained in:
James Turner 2023-06-13 14:24:22 +01:00
parent a301094022
commit 549507874b

View file

@ -40,7 +40,7 @@ var Node = {
# current value of the node
adjustValue : func _adjustValue(me._g, arg),
unalias : func _unalias(me._g, arg),
alias : func(n) _alias(me._g, [isa(n, Node) ? n._g : n]),
alias : func(n, chainListener = 0) _alias(me._g, [isa(n, Node) ? n._g : n], chainListener),
equals : func(n) _equals(me._g, [isa(n, Node) ? n._g : n]),
clearValue : func _alias(me._g, [_globals()]) and me.unalias(),