pcbnew: Follow cursor when editing polygon

Fixes: lp:1796721
* https://bugs.launchpad.net/kicad/+bug/1796721
This commit is contained in:
Seth Hillbrand 2018-10-08 04:11:11 -07:00
parent 77eeda4191
commit 3ee72031a4
1 changed files with 1 additions and 0 deletions

View File

@ -356,6 +356,7 @@ int POINT_EDITOR::OnSelectionChange( const TOOL_EVENT& aEvent )
{
commit.StageItems( selection, CHT_MODIFY );
controls->ForceCursorPosition( false );
m_original = *m_editedPoint; // Save the original position
controls->SetAutoPan( true );
modified = true;