Give the length tuning tool an inital end point that isn't the start point
Using the starting point as the end point means that the tool initializes with 0 length traces and so nothing is visible. Fixes https://gitlab.com/kicad/code/kicad/issues/1912
This commit is contained in:
parent
f0b94dd0d4
commit
5c3bcb09fa
|
@ -163,7 +163,7 @@ void LENGTH_TUNER_TOOL::performTuning()
|
||||||
|
|
||||||
placer->UpdateSettings( m_savedMeanderSettings );
|
placer->UpdateSettings( m_savedMeanderSettings );
|
||||||
|
|
||||||
VECTOR2I end( m_startSnapPoint );
|
VECTOR2I end = getViewControls()->GetMousePosition();
|
||||||
|
|
||||||
// Create an instance of PNS_TUNE_STATUS_POPUP.
|
// Create an instance of PNS_TUNE_STATUS_POPUP.
|
||||||
// DO NOT create it on the stack: otherwise on Windows, wxWidgets 3.1.3
|
// DO NOT create it on the stack: otherwise on Windows, wxWidgets 3.1.3
|
||||||
|
|
Loading…
Reference in New Issue