mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Added call to Component::colourChanged when the l+f changes.
This commit is contained in:
parent
26d27f5f6e
commit
51e99b31f9
1 changed files with 10 additions and 5 deletions
|
|
@ -2049,14 +2049,19 @@ void Component::sendLookAndFeelChange()
|
|||
|
||||
if (safePointer != nullptr)
|
||||
{
|
||||
for (int i = childComponentList.size(); --i >= 0;)
|
||||
colourChanged();
|
||||
|
||||
if (safePointer != nullptr)
|
||||
{
|
||||
childComponentList.getUnchecked (i)->sendLookAndFeelChange();
|
||||
for (int i = childComponentList.size(); --i >= 0;)
|
||||
{
|
||||
childComponentList.getUnchecked (i)->sendLookAndFeelChange();
|
||||
|
||||
if (safePointer == nullptr)
|
||||
return;
|
||||
if (safePointer == nullptr)
|
||||
return;
|
||||
|
||||
i = jmin (i, childComponentList.size());
|
||||
i = jmin (i, childComponentList.size());
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue