1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Misc code cleanups

This commit is contained in:
jules 2017-06-07 10:13:38 +01:00
parent 82f3ab616a
commit ebe5916c49
6 changed files with 77 additions and 109 deletions

View file

@ -242,7 +242,7 @@ void ResizableWindow::childBoundsChanged (Component* child)
jassert (child->getWidth() > 0);
jassert (child->getHeight() > 0);
const BorderSize<int> borders (getContentComponentBorder());
auto borders = getContentComponentBorder();
setSize (child->getWidth() + borders.getLeftAndRight(),
child->getHeight() + borders.getTopAndBottom());