Enable grid snapping when dragging items (GAL)

Fixes: lp:1668077
* https://bugs.launchpad.net/kicad/+bug/1668077
This commit is contained in:
Maciej Suminski 2017-03-02 15:21:28 +01:00
parent 4a911e0790
commit 35c7974a96
1 changed files with 2 additions and 0 deletions

View File

@ -257,6 +257,8 @@ int EDIT_TOOL::Main( const TOOL_EVENT& aEvent )
bool lockOverride = false; bool lockOverride = false;
controls->ShowCursor( true ); controls->ShowCursor( true );
controls->SetSnapping( true );
controls->SetAutoPan( true );
// cumulative translation // cumulative translation
wxPoint totalMovement( 0, 0 ); wxPoint totalMovement( 0, 0 );