Browse Source

Use mathematical rotation direction in Move Exactly dialog.

Fixes https://gitlab.com/kicad/code/kicad/issues/1897
6.0.7
Jeff Young 4 years ago
parent
commit
5c402a64ab
  1. 3
      pcbnew/tools/edit_tool.cpp

3
pcbnew/tools/edit_tool.cpp

@ -2049,6 +2049,9 @@ int EDIT_TOOL::MoveExact( const TOOL_EVENT& aEvent )
// Make sure the rotation is from the right reference point
selCenter += translation;
if( !frame()->GetDisplayOptions().m_DisplayInvertYAxis )
rotation *= -1.0;
// When editing footprints, all items have the same parent
if( IsFootprintEditor() )
m_commit->Modify( selection.Front() );

Loading…
Cancel
Save