From 286cf2fbd218041ac1f35cebe429555fb8cb6861 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 14 Jan 2022 13:55:18 +0100 Subject: [PATCH] widget: updatea dvanced syntax update routine --- src/client/widgets/common/widget.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/widgets/common/widget.js b/src/client/widgets/common/widget.js index e989624c..c9410164 100644 --- a/src/client/widgets/common/widget.js +++ b/src/client/widgets/common/widget.js @@ -404,7 +404,7 @@ class Widget extends EventEmitter { if ( // if prop/osc listeners/custom vars have changed (@{} / OSC{} / VAR{}) // refresh the widget's props cache and update linked props bindings - propNames.map(x => this.props[x]).some(x => typeof x === 'string' && x.match(/OSC\{|@\{|VAR\{/)) + propNames.map(x => this.props[x]).some(x => typeof x === 'string' && x.match(/(OSC|@|VAR|IMPORT)\{/)) || propNames.some(n => linkedProps.includes(n)) ) { this.createPropsCache()