mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Fixed a typo in Colour.
This commit is contained in:
parent
798de207a7
commit
fbaf80ced4
1 changed files with 3 additions and 3 deletions
|
|
@ -380,9 +380,9 @@ Colour Colour::greyLevel (const float brightness) noexcept
|
|||
//==============================================================================
|
||||
Colour Colour::contrasting (const float amount) const noexcept
|
||||
{
|
||||
return overlaidWith (getPerceivedBrightness() >= 0.5f
|
||||
? Colours::black
|
||||
: Colours::white).withAlpha (amount);
|
||||
return overlaidWith ((getPerceivedBrightness() >= 0.5f
|
||||
? Colours::black
|
||||
: Colours::white).withAlpha (amount));
|
||||
}
|
||||
|
||||
Colour Colour::contrasting (Colour target, float minContrast) const noexcept
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue