Commit 8ee7d7b6 authored by charras's avatar charras

Eeschema: bug 2959625 (Mirror Block does not work in Component Editor) fixed

parent 5bccc872
......@@ -1145,6 +1145,7 @@ void LIB_COMPONENT::CopySelectedItems( const wxPoint& aOffset )
}
void LIB_COMPONENT::MirrorSelectedItemsH( const wxPoint& aCenter )
{
BOOST_FOREACH( LIB_DRAW_ITEM& item, drawings )
......@@ -1152,7 +1153,7 @@ void LIB_COMPONENT::MirrorSelectedItemsH( const wxPoint& aCenter )
if( item.m_Selected == 0 )
continue;
item.SetOffset( aCenter );
item.MirrorHorizontal( aCenter );
item.m_Flags = item.m_Selected = 0;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment