BR: Filling an empty RectList fills the entire graphics context

Filling an empty RectList fills the entire graphics context. Shouldn’t that be a no-op?

    juce::ColourGradient grad (juce::Colours::red, 0, 0, juce::Colours::green, 600, 400, false);
    g.setGradientFill (grad);
    
    juce::RectangleList<float> list;
    g.fillRectList (list);

2 Likes

also reported here : BR: painting an empty RectangleList paints something

1 Like

Fixed on develop

2 Likes