1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-02-08 04:20:09 +00:00

Some cleanup in a recent commit to FakeMouseMoveGenerator

This commit is contained in:
hogliux 2018-05-09 10:09:07 +01:00
parent 481221a256
commit c65725af51

View file

@ -46,16 +46,9 @@ public:
if (dynamic_cast<AudioProcessorEditor*> (comp) != nullptr)
return true;
auto n = comp->getNumChildComponents();
for (int i = 0; i < n; ++i)
{
if (auto* child = comp->getChildComponent (i))
{
if (componentContainsAudioProcessorEditor (child))
return true;
}
}
for (auto* child : comp->getChildren())
if (componentContainsAudioProcessorEditor (child))
return true;
return false;
}