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

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

parent 2ecb72da
...@@ -337,6 +337,9 @@ void EDA_DRAW_PANEL::MoveCursorToCrossHair() ...@@ -337,6 +337,9 @@ void EDA_DRAW_PANEL::MoveCursorToCrossHair()
void EDA_DRAW_PANEL::MoveCursor( const wxPoint& aPosition ) void EDA_DRAW_PANEL::MoveCursor( const wxPoint& aPosition )
{ {
if( GetParent()->IsGalCanvasActive() )
return;
int x, y, xPpu, yPpu; int x, y, xPpu, yPpu;
wxPoint screenPos, drawingPos; wxPoint screenPos, drawingPos;
wxRect clientRect( wxPoint( 0, 0 ), GetClientSize() ); wxRect clientRect( wxPoint( 0, 0 ), GetClientSize() );
......
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