bacground color changed to black for no reason when changing text via applescript

Describe the bug
When using
update_touch_bar_widget "UUID" shared_secret "XXXX" text topic & ":" & msg
The background of the associate widget change color (to black)

-This widget is part of a touchbar and quitting the touchbar and re-opening reset the color to the normal one.

  • The color is also reset as soon as any identifier is pressed

Affected input device (e.g. MacBook Trackpad, Magic Mouse/Trackpad, Touch Bar, etc.):
This is on Macbook pro 15 inch with touchbar running 10.13.4 with BTT 2.506

Screenshots
If applicable, add screenshots to help explain your problem. (You can just paste or drag them here)

Additional information (e.g. StackTraces, related issues, screenshots, workarounds, etc.):
a workaround is to set the color explicitly:

update_touch_bar_widget "UUID" shared_secret "XXXX" text topic & ":" & msg" background_color "75,75,75,255"

Thanks,

Olivier

Ah I have already fixed this. Will be included in the next version :slight_smile:

1 Like