Don't autopan until mouse moves.
This commit is contained in:
parent
c2662b0e11
commit
ead1914b1d
|
@ -157,7 +157,6 @@ int SCH_MOVE_TOOL::Main( const TOOL_EVENT& aEvent )
|
||||||
|
|
||||||
Activate();
|
Activate();
|
||||||
controls->ShowCursor( true );
|
controls->ShowCursor( true );
|
||||||
controls->SetAutoPan( true );
|
|
||||||
|
|
||||||
bool restore_state = false;
|
bool restore_state = false;
|
||||||
bool chain_commands = false;
|
bool chain_commands = false;
|
||||||
|
@ -424,6 +423,8 @@ int SCH_MOVE_TOOL::Main( const TOOL_EVENT& aEvent )
|
||||||
break; // Finish
|
break; // Finish
|
||||||
}
|
}
|
||||||
|
|
||||||
|
controls->SetAutoPan( m_moveInProgress );
|
||||||
|
|
||||||
} while( ( evt = Wait() ) ); //Should be assignment not equality test
|
} while( ( evt = Wait() ) ); //Should be assignment not equality test
|
||||||
|
|
||||||
controls->ForceCursorPosition( false );
|
controls->ForceCursorPosition( false );
|
||||||
|
|
Loading…
Reference in New Issue