Commit 8593838f authored by charras's avatar charras
Browse files

fixed: cursor is not positioned properly in find function (pcbnew)

parent 663959f4
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -361,7 +361,7 @@ void WinEDA_DrawPanel::MouseTo( const wxPoint& Mouse )
/****************************************************/

/** Move the mouse cursor to the position "Mouse"
 * @param Mouse = new mouse cursor position
 * @param Mouse = mouse cursor position, in pixels units
 */
{
    int     x, y, xPpu, yPpu;
+0 −1
Original line number Diff line number Diff line
@@ -129,7 +129,6 @@ void WinEDA_BasePcbFrame::CursorGoto( const wxPoint& aPos )
        // Put cursor on item position
        DrawPanel->CursorOff( &dc );
        screen->m_Curseur = aPos;
        DrawPanel->MouseTo( screen->m_Curseur );
        DrawPanel->MouseToCursorSchema();
        DrawPanel->CursorOn( &dc );
    }