Pcbnew: draw shadow PCB_SHAPEs for locked items using continuous lines.
Using other shapes gives really strange and ugly results. From master branch Fixes #16327 https://gitlab.com/kicad/code/kicad/-/issues/16327
This commit is contained in:
parent
f17c4cceac
commit
0d330051ed
|
@ -1655,7 +1655,9 @@ void PCB_PAINTER::draw( const PCB_SHAPE* aShape, int aLayer )
|
|||
m_gal->SetFillColor( color );
|
||||
m_gal->SetStrokeColor( color );
|
||||
|
||||
if( lineStyle <= PLOT_DASH_TYPE::FIRST_TYPE )
|
||||
// Note: on LAYER_LOCKED_ITEM_SHADOW always draw shadow shapes as continuous lines
|
||||
// otherwise the look is very strange and ugly
|
||||
if( lineStyle <= PLOT_DASH_TYPE::FIRST_TYPE || aLayer == LAYER_LOCKED_ITEM_SHADOW )
|
||||
{
|
||||
switch( aShape->GetShape() )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue