Use track opacity for teardrops.

This commit is contained in:
Jeff Young 2023-05-11 15:57:44 +01:00
parent 4da6d5ff28
commit 35158a7db9
1 changed files with 2 additions and 0 deletions

View File

@ -428,6 +428,8 @@ COLOR4D PCB_RENDER_SETTINGS::GetColor( const VIEW_ITEM* aItem, int aLayer ) cons
color.a *= m_viaOpacity;
else if( item->Type() == PCB_PAD_T )
color.a *= m_padOpacity;
else if( item->Type() == PCB_ZONE_T && static_cast<const ZONE*>( item )->IsTeardropArea() )
color.a *= m_trackOpacity;
else if( item->Type() == PCB_ZONE_T )
color.a *= m_zoneOpacity;
else if( item->Type() == PCB_BITMAP_T )