Altium sch import: put transparent colors on background too.

This commit is contained in:
Alex Shvartzkop 2023-09-09 19:59:57 +03:00
parent 717f8d35e5
commit 946f6e978c
1 changed files with 1 additions and 1 deletions

View File

@ -202,7 +202,7 @@ static void SetLibShapeFillAndColor( const ASCH_FILL_INTERFACE& elem, LIB_SHAPE*
shape->SetFillMode( FILL_T::FILLED_SHAPE );
}
else if( bgcolor == default_bgcolor )
else if( bgcolor.WithAlpha( 1.0 ) == default_bgcolor )
shape->SetFillMode( FILL_T::FILLED_WITH_BG_BODYCOLOR );
else
shape->SetFillMode( FILL_T::FILLED_WITH_COLOR );