Hook up "always show cursor" preference.
This commit is contained in:
parent
f1346030d7
commit
48688b5074
|
@ -253,8 +253,13 @@ bool SCH_EDIT_FRAME::GeneralControl( wxDC* aDC, const wxPoint& aPosition, EDA_KE
|
||||||
bool keyHandled = GeneralControlKeyMovement( aHotKey, &pos, snapToGrid );
|
bool keyHandled = GeneralControlKeyMovement( aHotKey, &pos, snapToGrid );
|
||||||
|
|
||||||
// Update cursor position.
|
// Update cursor position.
|
||||||
|
if( GetToolId() == ID_NO_TOOL_SELECTED )
|
||||||
|
m_canvas->CrossHairOff( aDC );
|
||||||
|
else
|
||||||
|
{
|
||||||
SetCrossHairPosition( pos, snapToGrid );
|
SetCrossHairPosition( pos, snapToGrid );
|
||||||
RefreshCrossHair( oldpos, aPosition, aDC );
|
RefreshCrossHair( oldpos, aPosition, aDC );
|
||||||
|
}
|
||||||
|
|
||||||
if( aHotKey )
|
if( aHotKey )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue