Fixed jumping cursor when closing pad properties window (GAL footprint editor).
This commit is contained in:
parent
2ecb72da84
commit
4ad4898254
|
@ -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() );
|
||||
|
|
Loading…
Reference in New Issue