Commit 91d00f32 authored by faa's avatar faa

libedit: move field bug

parent 18e9b0bf
......@@ -379,7 +379,7 @@ LibDrawField* WinEDA_LibeditFrame::LocateField( EDA_LibComponentStruct* LibEntry
wxPoint refpos;
refpos.x = GetScreen()->m_Curseur.x;
refpos.y = -GetScreen()->m_Curseur.y; // Y axis is from bottom to top in library
refpos.y = GetScreen()->m_Curseur.y; // Y axis is from bottom to top in library
/* Test reference */
if( LibEntry->m_Name.HitTest( refpos ) )
return &LibEntry->m_Name;
......
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