[DocBug] Rectangle::setCentreRelative


#1

https://github.com/julianstorer/JUCE/blob/c518877d17583159f9c4cb9084d6fe76fd15182b/modules/juce_gui_basics/components/juce_Component.h#L547 has:

/** Changes the position of the component's centre. Leaves the position unchanged, but positions its centre relative to its parent's size. E.g. setCentreRelative (0.5f, 0.5f) would place it centrally in its parent. */

void setCentreRelative (float x, float y);

I think that should read 'Leaves the size unchanged'

π


#2

Yep, that sounds like a typo - thanks, will fix it!