1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-25 15:53:52 +02:00

Martyn's suggested rotation of rgb values for spectral selection

This commit is contained in:
Paul Licameli
2015-09-01 02:30:32 -04:00
parent dd95f735c6
commit bae6a95e15

View File

@@ -622,8 +622,11 @@ void AColor::PreComputeGradient() {
case ColorGradientTimeAndFrequencySelected:
if( !grayscale )
{
// flip the blue, makes spectrogram more yellow.
b = 1.0f - 0.75f * b;
float temp;
temp = r;
r = g;
g = b;
b = temp;
break;
}
// else fall through to SAME grayscale colour as normal selection.