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:
parent
481221a256
commit
c65725af51
1 changed files with 3 additions and 10 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue