LookAndFeel bug?

Hello Jules,

I think I’ve found a little bug in ‘juce_LookAndFeel.cpp’, line #2518.

[code]g.setOpacity (g.getCurrentColour().getAlpha() * 0.6f);[/code]

should probably be:

[code]g.setOpacity (g.getCurrentColour().getFloatAlpha() * 0.6f);[/code]

otherwise you get an assert at line #255 in ‘juce_Colour.cpp’.

Regards
Amedeo

Ah! yes, thanks for spotting that!