Update extension.js

This commit is contained in:
BlakeOne
2024-04-18 13:29:14 -07:00
committed by GitHub
parent 64aea838b9
commit 1600c5a678
+1 -1
View File
@@ -23,7 +23,7 @@ app.registerExtension({
if (widget.options && widget.options.property && node.properties[widget.options.property] !== undefined) {
node.setProperty(widget.options.property, widget.value);
}
if (widget.callback) {
if (widget.callback && widget.callback.length <= 3) {
widget.callback(widget.value, this, node);
}
}