Fix hidden text painting.

This commit is contained in:
Jeff Young 2023-08-04 10:50:19 +01:00
parent 9369be6186
commit 29f2afedbd
1 changed files with 1 additions and 1 deletions

View File

@ -1995,7 +1995,7 @@ void PCB_PAINTER::draw( const PCB_TEXT* aText, int aLayer )
}
TEXT_ATTRIBUTES attrs = aText->GetAttributes();
const COLOR4D& color = m_pcbSettings.GetColor( aText, aText->GetLayer() );
const COLOR4D& color = m_pcbSettings.GetColor( aText, aLayer );
bool outline_mode = !viewer_settings()->m_ViewersDisplay.m_DisplayTextFill;
KIFONT::FONT* font = aText->GetFont();