Eeschema, library viewer: fix a Kicad assert.
This commit is contained in:
parent
4742c52250
commit
49c94fb928
|
@ -311,12 +311,11 @@ bool LIB_VIEW_FRAME::GeneralControl( wxDC* aDC, const wxPoint& aPosition, EDA_KE
|
|||
}
|
||||
|
||||
wxPoint pos = aPosition;
|
||||
wxPoint oldpos = GetCrossHairPosition();
|
||||
GeneralControlKeyMovement( aHotKey, &pos, true );
|
||||
|
||||
// Update cursor position.
|
||||
m_canvas->CrossHairOn( aDC );
|
||||
SetCrossHairPosition( pos, true );
|
||||
RefreshCrossHair( oldpos, aPosition, aDC );
|
||||
|
||||
if( aHotKey )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue