Eeschema: Also make 'note' backgrounds translucent on selection

For the same reason as device backgrounds - it obscures everything
else while moving a filled shape.
This commit is contained in:
John Beard 2024-05-23 16:49:27 +08:00
parent 5a69b163a3
commit 0bcd5e5795
1 changed files with 2 additions and 1 deletions

View File

@ -444,7 +444,8 @@ COLOR4D SCH_PAINTER::getRenderColor( const SCH_ITEM* aItem, int aLayer, bool aDr
color = m_schSettings.GetLayerColor( LAYER_SELECTION_SHADOWS );
}
else if( aItem->IsSelected() && ( aLayer == LAYER_DEVICE_BACKGROUND
|| aLayer == LAYER_SHEET_BACKGROUND ) )
|| aLayer == LAYER_SHEET_BACKGROUND
|| aLayer == LAYER_NOTES_BACKGROUND ) )
{
// Selected items will be painted over all other items, so make backgrounds translucent so
// that non-selected overlapping objects are visible