mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-25 07:43:54 +02:00
Martyn's suggested rotation of rgb values for spectral selection
This commit is contained in:
@@ -622,8 +622,11 @@ void AColor::PreComputeGradient() {
|
|||||||
case ColorGradientTimeAndFrequencySelected:
|
case ColorGradientTimeAndFrequencySelected:
|
||||||
if( !grayscale )
|
if( !grayscale )
|
||||||
{
|
{
|
||||||
// flip the blue, makes spectrogram more yellow.
|
float temp;
|
||||||
b = 1.0f - 0.75f * b;
|
temp = r;
|
||||||
|
r = g;
|
||||||
|
g = b;
|
||||||
|
b = temp;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
// else fall through to SAME grayscale colour as normal selection.
|
// else fall through to SAME grayscale colour as normal selection.
|
||||||
|
|||||||
Reference in New Issue
Block a user