Fully select a line for transformation
When not trying to select points, we need to ensure that the full line is selected for transformation Fixes https://gitlab.com/kicad/code/kicad/issues/10566
This commit is contained in:
parent
26dfc4477f
commit
70d00689ca
|
@ -853,6 +853,10 @@ void EE_SELECTION_TOOL::narrowSelection( EE_COLLECTOR& collector, const VECTOR2I
|
|||
else
|
||||
line->SetFlags( STARTPOINT | ENDPOINT );
|
||||
}
|
||||
else if( collector[i]->Type() == SCH_LINE_T )
|
||||
{
|
||||
static_cast<SCH_LINE*>( collector[i] )->SetFlags( STARTPOINT | ENDPOINT );
|
||||
}
|
||||
}
|
||||
|
||||
// Apply some ugly heuristics to avoid disambiguation menus whenever possible
|
||||
|
|
Loading…
Reference in New Issue