mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
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();
|
||||
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 );
|
||||
|
Loading…
x
Reference in New Issue
Block a user