Someone accidentally exchanged the x and y coordinates when flipping
components horizontally and vertically in SCH_DRAWING_TOOLS::SingleClickPlace() Fixes https://gitlab.com/kicad/code/kicad/-/issues/14725
This commit is contained in:
parent
1282e00775
commit
28b37ad020
|
@ -868,11 +868,11 @@ int SCH_DRAWING_TOOLS::SingleClickPlace( const TOOL_EVENT& aEvent )
|
||||||
}
|
}
|
||||||
else if( evt->IsAction( &EE_ACTIONS::mirrorV ) )
|
else if( evt->IsAction( &EE_ACTIONS::mirrorV ) )
|
||||||
{
|
{
|
||||||
busItem->MirrorVertically( busItem->GetPosition().x );
|
busItem->MirrorVertically( busItem->GetPosition().y );
|
||||||
}
|
}
|
||||||
else if( evt->IsAction( &EE_ACTIONS::mirrorH ) )
|
else if( evt->IsAction( &EE_ACTIONS::mirrorH ) )
|
||||||
{
|
{
|
||||||
busItem->MirrorHorizontally( busItem->GetPosition().y );
|
busItem->MirrorHorizontally( busItem->GetPosition().x );
|
||||||
}
|
}
|
||||||
|
|
||||||
m_view->ClearPreview();
|
m_view->ClearPreview();
|
||||||
|
|
Loading…
Reference in New Issue