Browse Source

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

pull/2/head
Maciej Suminski 11 years ago
parent
commit
4ad4898254
  1. 3
      common/draw_panel.cpp

3
common/draw_panel.cpp

@ -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…
Cancel
Save