Hi, just wanted to report a small bug I've found with the latest beta.
I display a small image and some text when a drive is online in windows, and nothing when it's not. I've had it like this for years, and it's always worked. With the latest beta, the image does not disappear when the drive is not present (the text does).
Hm...You are right. We will investigate. Thanks for reporting!
The problem seems to be related to changing to "black", or "0,0,0" as the color, when you use an alpha of "0". If you use 255,255,255,0 or "don't change the color, just the alpha", then it seems to work fine.
Only ImageTint=0,0,0,0 has the issue. If you use ImageTint=any,thing,else,0 or ImageTint=0,0,0,anythingelse it is fine.
There is no need to alter the color if you are just toggling the alpha between fully opaque and fully transparent, and there is no need for two IfCondition options, as you can just stack up the actions on the single IfTrueAction and IfFalseAction lines.
The fact remains that there is some kind of bug in 4.3 indeed.
jsmorley wrote: ↑February 5th, 2019, 4:44 pm
There is no need to alter the color if you are just toggling the alpha between fully opaque and fully transparent, and there is no need for two IfCondition options, as you can just stack up the actions on the single IfTrueAction and IfFalseAction lines.
That's great, thank you for the streamlined code. You are completely right, it makes sense just to alter the alpha and not the whole colour, no idea what I was thinking of when I wrote that
Indeed, I can confirm it now works properly with the 4.3 beta as well.