Warp after context menu only if actively drawing.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/11080
(cherry picked from commit 1a7152d3eb)
This commit is contained in:
committed by
Roberto Fernandez Bautista
parent
e68cd04d48
commit
e7f18e7eab
@@ -348,7 +348,10 @@ int PCB_SELECTION_TOOL::Main( const TOOL_EVENT& aEvent )
|
||||
m_frame->GetCanvas()->ForceRefresh();
|
||||
|
||||
if( !selectionCancelled )
|
||||
{
|
||||
m_toolMgr->VetoContextMenuMouseWarp();
|
||||
m_menu.ShowContextMenu( m_selection );
|
||||
}
|
||||
}
|
||||
else if( evt->IsDblClick( BUT_LEFT ) )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user