From b07c8110c84a798be49ba48b60e5b419098d64c4 Mon Sep 17 00:00:00 2001 From: Seth Hillbrand Date: Tue, 2 Feb 2021 20:23:12 -0800 Subject: [PATCH] Follow grid snapping when moving --- eeschema/tools/sch_move_tool.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eeschema/tools/sch_move_tool.cpp b/eeschema/tools/sch_move_tool.cpp index feb5c02ae0..1380ba824b 100644 --- a/eeschema/tools/sch_move_tool.cpp +++ b/eeschema/tools/sch_move_tool.cpp @@ -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 )