Allow snapping in pickReferencePoint
Fixes https://gitlab.com/kicad/code/kicad/issues/9354
This commit is contained in:
parent
62cb5d9354
commit
93bbad6acf
|
@ -2347,6 +2347,9 @@ bool EDIT_TOOL::pickReferencePoint( const wxString& aTooltip, const wxString& aS
|
|||
|
||||
m_statusPopup->SetText( aTooltip );
|
||||
|
||||
/// This allow the option of snapping in the tool
|
||||
picker->SetSnapping( true );
|
||||
|
||||
picker->SetClickHandler(
|
||||
[&]( const VECTOR2D& aPoint ) -> bool
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue