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

This commit is contained in:
Maciej Suminski 2015-03-10 17:27:15 +01:00
parent 2ecb72da84
commit 4ad4898254
1 changed files with 3 additions and 0 deletions

View File

@ -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() );