Schematic: allowing ctrl/shift-clicking point editor points
This commit is contained in:
parent
2214e853c1
commit
4b02e5efb4
|
@ -352,8 +352,9 @@ int EE_SELECTION_TOOL::Main( const TOOL_EVENT& aEvent )
|
||||||
if( evt->IsMouseDown( BUT_LEFT ) )
|
if( evt->IsMouseDown( BUT_LEFT ) )
|
||||||
{
|
{
|
||||||
// Avoid triggering when running under other tools
|
// Avoid triggering when running under other tools
|
||||||
|
// Distinguish point editor from selection modification by checking modifiers
|
||||||
if( m_frame->ToolStackIsEmpty() && m_toolMgr->GetTool<EE_POINT_EDITOR>()
|
if( m_frame->ToolStackIsEmpty() && m_toolMgr->GetTool<EE_POINT_EDITOR>()
|
||||||
&& !m_toolMgr->GetTool<EE_POINT_EDITOR>()->HasPoint() )
|
&& ( !m_toolMgr->GetTool<EE_POINT_EDITOR>()->HasPoint() || modifier_enabled ) )
|
||||||
{
|
{
|
||||||
m_originalCursor = m_toolMgr->GetMousePosition();
|
m_originalCursor = m_toolMgr->GetMousePosition();
|
||||||
m_disambiguateTimer.StartOnce( 500 );
|
m_disambiguateTimer.StartOnce( 500 );
|
||||||
|
|
Loading…
Reference in New Issue