Add component/footprint is always immediate
When a user clicks on the "Add Component", "Add Power" or "Add Footprint" icon, they want to add the item. Requiring an extra click on the screen before selecting the component/footprint is not needed.
This commit is contained in:
parent
509b1b7141
commit
005622027f
|
@ -130,7 +130,7 @@ int SCH_DRAWING_TOOLS::PlaceComponent( const TOOL_EVENT& aEvent )
|
|||
getViewControls()->WarpCursor( getViewControls()->GetMousePosition( false ) );
|
||||
m_toolMgr->RunAction( ACTIONS::refreshPreview );
|
||||
}
|
||||
else if( aEvent.HasPosition() )
|
||||
else
|
||||
{
|
||||
m_toolMgr->RunAction( EE_ACTIONS::cursorClick );
|
||||
}
|
||||
|
|
|
@ -818,7 +818,7 @@ int BOARD_EDITOR_CONTROL::PlaceFootprint( const TOOL_EVENT& aEvent )
|
|||
m_toolMgr->RunAction( PCB_ACTIONS::selectItem, true, fp );
|
||||
m_toolMgr->RunAction( ACTIONS::refreshPreview );
|
||||
}
|
||||
else if( aEvent.HasPosition() )
|
||||
else
|
||||
m_toolMgr->RunAction( PCB_ACTIONS::cursorClick );
|
||||
|
||||
auto setCursor =
|
||||
|
|
Loading…
Reference in New Issue