On Thu Nov 24 13:15:12 2022 +0000, Rémi Bernon wrote:
It's hard to tell which of these branches is the expected behavior.
I've added comments that clarify the expected behavior. Is this better?
Also, I've removed the checks for the Color struct as they differ depending on the opacity and colors set. The function only succeeds when the relevant Color property is set to something other than Default; Opacity has no effect.