Rectangle::getUnion fails property tests

Our first approach for juce::Grid was to fix rectangle.

Another ‘nice to have’ (I guess it should be discussed by the JUCE team) is to have
Rectangle::getUnionWith this keep both behaviors and has same name as the one in Range

Also, if eventually it seems that getUnion is redundant with it, it’ll be possible to deprecate/easily find its usage since there is getUnionWith.

There were already changes in JUCE that made old code behave differently in the past.
juce::String(floatValue) changes

1 Like