Commit 4ad48982 authored by Maciej Suminski's avatar Maciej Suminski
Browse files

Fixed jumping cursor when closing pad properties window (GAL footprint editor).

parent 2ecb72da
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -337,6 +337,9 @@ void EDA_DRAW_PANEL::MoveCursorToCrossHair()

void EDA_DRAW_PANEL::MoveCursor( const wxPoint& aPosition )
{
    if( GetParent()->IsGalCanvasActive() )
        return;

    int     x, y, xPpu, yPpu;
    wxPoint screenPos, drawingPos;
    wxRect  clientRect( wxPoint( 0, 0 ), GetClientSize() );