Schematic: show partial selection of graphic lines
Use the same inverted-dangling-shadow as regular wires Fixes: https://gitlab.com/kicad/code/kicad/-/issues/13095
This commit is contained in:
parent
4b02e5efb4
commit
78b5dbead6
|
@ -1683,7 +1683,9 @@ void SCH_PAINTER::draw( const SCH_LINE *aLine, int aLayer )
|
|||
|
||||
if( drawingDangling || drawingShadows )
|
||||
{
|
||||
if( aLine->IsStartDangling() && aLine->IsWire() )
|
||||
if( ( aLine->IsWire() && aLine->IsStartDangling() )
|
||||
|| ( aLine->IsGraphicLine() && aLine->IsSelected() && !aLine->IsNew()
|
||||
&& !aLine->HasFlag( STARTPOINT ) ) )
|
||||
{
|
||||
COLOR4D danglingColor =
|
||||
( drawingShadows && !aLine->HasFlag( STARTPOINT ) ) ? color.Inverted() : color;
|
||||
|
@ -1692,7 +1694,9 @@ void SCH_PAINTER::draw( const SCH_LINE *aLine, int aLayer )
|
|||
aLine->IsBrightened() );
|
||||
}
|
||||
|
||||
if( aLine->IsEndDangling() && aLine->IsWire() )
|
||||
if( ( aLine->IsWire() && aLine->IsEndDangling() )
|
||||
|| ( aLine->IsGraphicLine() && aLine->IsSelected() && !aLine->IsNew()
|
||||
&& !aLine->HasFlag( ENDPOINT ) ) )
|
||||
{
|
||||
COLOR4D danglingColor =
|
||||
( drawingShadows && !aLine->HasFlag( ENDPOINT ) ) ? color.Inverted() : color;
|
||||
|
|
Loading…
Reference in New Issue