mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-04-11 14:20:10 +00:00
Drag footprints only in non-hover selections.
This commit is contained in:
parent
234e4a2ae3
commit
129e37f63d
@ -562,11 +562,9 @@ int EDIT_TOOL::Drag( const TOOL_EVENT& aEvent )
|
||||
}
|
||||
}
|
||||
|
||||
if( footprints.size() )
|
||||
if( !sTool->GetSelection().IsHover() && footprints.size() )
|
||||
{
|
||||
/*
|
||||
* Remove non-footprints
|
||||
*/
|
||||
// Remove non-footprints so box-selection will drag footprints.
|
||||
for( int ii = aCollector.GetCount() - 1; ii >= 0; --ii )
|
||||
{
|
||||
if( aCollector[ii]->Type() != PCB_FOOTPRINT_T )
|
||||
|
Loading…
Reference in New Issue
Block a user