Browse Source

Don't autopan until mouse moves.

pull/15/head
Jeff Young 7 years ago
parent
commit
ead1914b1d
  1. 3
      eeschema/tools/sch_move_tool.cpp

3
eeschema/tools/sch_move_tool.cpp

@ -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…
Cancel
Save