Fix SCH_SHAPE rotation direction.
This commit is contained in:
parent
48855ebe40
commit
b2825663be
|
@ -107,7 +107,7 @@ void SCH_SHAPE::MirrorVertically( int aCenter )
|
||||||
|
|
||||||
void SCH_SHAPE::Rotate( const VECTOR2I& aCenter )
|
void SCH_SHAPE::Rotate( const VECTOR2I& aCenter )
|
||||||
{
|
{
|
||||||
rotate( aCenter, -ANGLE_90 );
|
rotate( aCenter, ANGLE_90 );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -904,7 +904,7 @@ int SCH_EDIT_TOOL::Rotate( const TOOL_EVENT& aEvent )
|
||||||
|
|
||||||
case SCH_SHAPE_T:
|
case SCH_SHAPE_T:
|
||||||
case SCH_TEXTBOX_T:
|
case SCH_TEXTBOX_T:
|
||||||
for( int i = 0; clockwise ? i < 1 : i < 3; ++i )
|
for( int i = 0; clockwise ? i < 3 : i < 1; ++i )
|
||||||
head->Rotate( rotPoint );
|
head->Rotate( rotPoint );
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue