Follow grid snapping when moving

This commit is contained in:
Seth Hillbrand 2021-02-02 20:23:12 -08:00
parent 97194983cd
commit b07c8110c8
1 changed files with 1 additions and 1 deletions

View File

@ -183,7 +183,7 @@ int SCH_MOVE_TOOL::Main( const TOOL_EVENT& aEvent )
{
m_frame->GetCanvas()->SetCurrentCursor( KICURSOR::MOVING );
grid.SetSnap( !evt->Modifier( MD_SHIFT ) );
grid.SetUseGrid( !evt->Modifier( MD_ALT ) );
grid.SetUseGrid( getView()->GetGAL()->GetGridSnapping() && !evt->Modifier( MD_ALT ) );
if( evt->IsAction( &EE_ACTIONS::moveActivate )
|| evt->IsAction( &EE_ACTIONS::restartMove )