Hook up "always show cursor" preference.

This commit is contained in:
Jeff Young 2018-09-07 10:31:05 +01:00
parent f1346030d7
commit 48688b5074
1 changed files with 7 additions and 2 deletions

View File

@ -253,8 +253,13 @@ bool SCH_EDIT_FRAME::GeneralControl( wxDC* aDC, const wxPoint& aPosition, EDA_KE
bool keyHandled = GeneralControlKeyMovement( aHotKey, &pos, snapToGrid );
// Update cursor position.
if( GetToolId() == ID_NO_TOOL_SELECTED )
m_canvas->CrossHairOff( aDC );
else
{
SetCrossHairPosition( pos, snapToGrid );
RefreshCrossHair( oldpos, aPosition, aDC );
}
if( aHotKey )
{