Fix symbol editor drawing tool coord system.

This commit is contained in:
Jeff Young 2024-05-05 22:20:42 +01:00
parent 8e40482451
commit 2ad05e34ea
1 changed files with 1 additions and 1 deletions

View File

@ -312,7 +312,7 @@ int SYMBOL_EDITOR_DRAWING_TOOLS::TwoClickPlace( const TOOL_EVENT& aEvent )
}
else if( item && ( evt->IsAction( &ACTIONS::refreshPreview ) || evt->IsMotion() ) )
{
item->SetPosition( VECTOR2I( cursorPos.x, -cursorPos.y ) );
item->SetPosition( VECTOR2I( cursorPos.x, cursorPos.y ) );
m_view->ClearPreview();
m_view->AddToPreview( item->Clone() );
}