mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
Use mathematical rotation direction in Move Exactly dialog.
Fixes https://gitlab.com/kicad/code/kicad/issues/1897
This commit is contained in:
parent
574bef2237
commit
5c402a64ab
@ -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…
x
Reference in New Issue
Block a user