Use mouse (rather than cursor) position when selecting an item.

This commit is contained in:
Maciej Suminski 2017-06-12 15:27:50 +02:00
parent dcc803ecb1
commit f0c8391a46
1 changed files with 1 additions and 1 deletions

View File

@ -472,7 +472,7 @@ bool SELECTION_TOOL::selectCursor( bool aSelectAlways )
if( aSelectAlways || m_selection.Empty() ) if( aSelectAlways || m_selection.Empty() )
{ {
clearSelection(); clearSelection();
selectPoint( getViewControls()->GetCursorPosition() ); selectPoint( getViewControls()->GetMousePosition() );
} }
return !m_selection.Empty(); return !m_selection.Empty();