On latest alfa 4.3.21
I created 2 simple JS widget buttons on my stream deck
(async () => {
let result = await get_string_variable({ variable_name: 'my_var_name' })
if (!result) {
result = '{"text": "0", "BTTStreamDeckBackgroundColor": "100,100,100,255"}'
}
returnToBTT(result);
})();
The other one is supposed to have a blue bg (from the apparence/default tab) and it contains this code:
(async () => {
returnToBTT('hello');
})()
They are both within a group.
When I open the group the second button will briefly display the blue background (not always), then switch to the bg set by the first widget (why?)
It sometimes correctly display "hello" but it will switch back and forth between "hello" and "0" that is the text set by the first button.
Sometimes it will start with 0 and switch back to "hello" and stay like this.
They both have checks "always run when widget becomes visible" and "execute script every" is set to big numbers for both (600).