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:
parent
82f3ab616a
commit
ebe5916c49
6 changed files with 77 additions and 109 deletions
|
|
@ -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());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue