mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
remove text angle reset when rotating multiple fields
The fields were properly rotated by field->rotate and don't need additional setting of the text angle. Fixes https://gitlab.com/kicad/code/kicad/-/issues/19366
This commit is contained in:
parent
6f54b11431
commit
0890d3f1cb
@ -1004,11 +1004,6 @@ int SCH_EDIT_TOOL::Rotate( const TOOL_EVENT& aEvent )
|
||||
|
||||
field->Rotate( rotPoint, !clockwise );
|
||||
|
||||
if( field->GetTextAngle().IsHorizontal() )
|
||||
field->SetTextAngle( ANGLE_VERTICAL );
|
||||
else
|
||||
field->SetTextAngle( ANGLE_HORIZONTAL );
|
||||
|
||||
// Now that we're moving a field, they're no longer autoplaced.
|
||||
static_cast<SCH_ITEM*>( field->GetParent() )->SetFieldsAutoplaced( AUTOPLACE_NONE );
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user