PNS: Don't snap to end items if snapping is disabled by modifier key
Fixes https://gitlab.com/kicad/code/kicad/-/issues/8033
This commit is contained in:
parent
49cc461ac9
commit
6b24abac8f
|
@ -322,7 +322,7 @@ void TOOL_BASE::updateEndItem( const TOOL_EVENT& aEvent )
|
|||
break;
|
||||
}
|
||||
|
||||
if( checkSnap( endItem ) )
|
||||
if( m_gridHelper->GetSnap() && checkSnap( endItem ) )
|
||||
{
|
||||
m_endItem = endItem;
|
||||
m_endSnapPoint = snapToItem( endItem, mousePos );
|
||||
|
|
Loading…
Reference in New Issue