Disable autoplace fields when dragging/moving.
Fixes https://gitlab.com/kicad/code/kicad/issues/9766
This commit is contained in:
parent
9bb370e6b4
commit
a224d8dd6c
|
@ -431,12 +431,10 @@ int SCH_MOVE_TOOL::Main( const TOOL_EVENT& aEvent )
|
||||||
chain_commands = true;
|
chain_commands = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
else if( evt->IsAction( &EE_ACTIONS::rotateCW )
|
else if( evt->IsAction( &EE_ACTIONS::autoplaceFields ) )
|
||||||
|| evt->IsAction( &EE_ACTIONS::rotateCCW )
|
|
||||||
|| evt->IsAction( &EE_ACTIONS::mirrorH )
|
|
||||||
|| evt->IsAction( &EE_ACTIONS::mirrorV ) )
|
|
||||||
{
|
{
|
||||||
evt->SetPassEvent();
|
// Currently this makes a mess when done while moving/dragging, so disable it.
|
||||||
|
wxBell();
|
||||||
}
|
}
|
||||||
else if( evt->Action() == TA_CHOICE_MENU_CHOICE )
|
else if( evt->Action() == TA_CHOICE_MENU_CHOICE )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue