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

Some misc cleanups, mainly around WeakReference usage and rectangles

This commit is contained in:
jules 2018-07-09 16:00:45 +01:00
parent 47535718dc
commit 7ab4d1708b
28 changed files with 136 additions and 135 deletions

View file

@ -280,7 +280,7 @@ public:
void resized() override
{
Rectangle<int> r (getLocalBounds().reduced (2, 0));
auto r = getLocalBounds().reduced (2, 0);
for (int i = 0; i < editors.size(); ++i)
editors.getUnchecked(i)->setBounds (r.removeFromTop (itemHeight));