Go back to rotating selection around center.
Fixes: lp:https://bugs.launchpad.net/kicad/+bug/1833371 * https://bugs.launchpad.net/kicad/+bug/https://bugs.launchpad.net/kicad/+bug/1833371
This commit is contained in:
parent
fb881ee209
commit
d3d0bdbe17
|
@ -444,7 +444,7 @@ int SCH_EDIT_TOOL::Rotate( const TOOL_EVENT& aEvent )
|
|||
}
|
||||
else if( selection.GetSize() > 1 )
|
||||
{
|
||||
rotPoint = (wxPoint)selection.GetReferencePoint();
|
||||
rotPoint = m_frame->GetNearestGridPosition( (wxPoint)selection.GetCenter() );
|
||||
|
||||
for( unsigned ii = 0; ii < selection.GetSize(); ii++ )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue