mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-24 01:54:22 +00:00
Added quality options to FlacAudioFormat. Fixed a positioning error in embedded NSViewComponents. Fixes to KnownPluginList, ResizableCornerComponent. Component findColour tweak.
This commit is contained in:
parent
2ecb4d3419
commit
94b07cb09b
11 changed files with 276 additions and 460 deletions
|
|
@ -2043,7 +2043,8 @@ const Colour Component::findColour (const int colourId, const bool inheritFromPa
|
|||
if (v != nullptr)
|
||||
return Colour ((int) *v);
|
||||
|
||||
if (inheritFromParent && parentComponent != nullptr)
|
||||
if (inheritFromParent && parentComponent != nullptr
|
||||
&& (lookAndFeel == nullptr || ! lookAndFeel->isColourSpecified (colourId)))
|
||||
return parentComponent->findColour (colourId, true);
|
||||
|
||||
return getLookAndFeel().findColour (colourId);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue