From f0c8391a46cc8f32fff38fd967500eae348ca917 Mon Sep 17 00:00:00 2001 From: Maciej Suminski Date: Mon, 12 Jun 2017 15:27:50 +0200 Subject: [PATCH] Use mouse (rather than cursor) position when selecting an item. --- pcbnew/tools/selection_tool.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcbnew/tools/selection_tool.cpp b/pcbnew/tools/selection_tool.cpp index 7d28cabea7..1b97c11ffa 100644 --- a/pcbnew/tools/selection_tool.cpp +++ b/pcbnew/tools/selection_tool.cpp @@ -472,7 +472,7 @@ bool SELECTION_TOOL::selectCursor( bool aSelectAlways ) if( aSelectAlways || m_selection.Empty() ) { clearSelection(); - selectPoint( getViewControls()->GetCursorPosition() ); + selectPoint( getViewControls()->GetMousePosition() ); } return !m_selection.Empty();