Don't autopan until mouse moves.

This commit is contained in:
Jeff Young 2019-05-31 18:45:43 +01:00
parent c2662b0e11
commit ead1914b1d
1 changed files with 2 additions and 1 deletions

View File

@ -157,7 +157,6 @@ int SCH_MOVE_TOOL::Main( const TOOL_EVENT& aEvent )
Activate();
controls->ShowCursor( true );
controls->SetAutoPan( true );
bool restore_state = false;
bool chain_commands = false;
@ -424,6 +423,8 @@ int SCH_MOVE_TOOL::Main( const TOOL_EVENT& aEvent )
break; // Finish
}
controls->SetAutoPan( m_moveInProgress );
} while( ( evt = Wait() ) ); //Should be assignment not equality test
controls->ForceCursorPosition( false );