Enable grid snapping when dragging items (GAL)
Fixes: lp:1668077 * https://bugs.launchpad.net/kicad/+bug/1668077
This commit is contained in:
parent
4a911e0790
commit
35c7974a96
|
@ -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 );
|
||||||
|
|
Loading…
Reference in New Issue