1.46 -> Git tip ColourGradient is drawn black

hi,

In our application, moving from juce 1.46 to the git tip, some colour gradients are now drawn black.
It only seems to happens on mac and withing a viewport. Then if I switch to a solid colour fill, everything works fine.

Does that ring a bell to someone?

some more info, it only happens with drawLine and drawVerticalLine but not if I use fillRect

Hmm. Seems like CoreGraphics doesn’t want to draw lines with a gradient. Ok, thanks, I’ll try to find a workaround for that…

thanks for the fix