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:
|
||||
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.
|
||||
|
||||
Reference in New Issue
Block a user