mirror of
https://github.com/cookiengineer/audacity
synced 2025-05-02 00:29:41 +02:00
Fix regression, loss of distinct colour in Scrub Ruler
Wrong conditional test for "no colours set".
This commit is contained in:
parent
69655a14cd
commit
cc46833125
@ -291,7 +291,7 @@ void AColor::UseThemeColour( wxDC * dc, int iBrush, int iPen )
|
||||
if (!inited)
|
||||
Init();
|
||||
// do nothing if no colours set.
|
||||
if( (iBrush != -1) && ( iPen !=-1))
|
||||
if( (iBrush == -1) && ( iPen ==-1))
|
||||
return;
|
||||
wxColour col = wxColour(0,0,0);
|
||||
if( iBrush !=-1 ){
|
||||
|
Loading…
x
Reference in New Issue
Block a user