1.46 -> Git tip ColourGradient is drawn black


#1

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?


#2

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


#3

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


#4

thanks for the fix