Add more force-immediate tools

This commit is contained in:
Seth Hillbrand 2021-02-23 17:05:03 -08:00
parent 005622027f
commit 0518d9c546
3 changed files with 3 additions and 4 deletions

View File

@ -924,7 +924,7 @@ int SCH_DRAWING_TOOLS::TwoClickPlace( const TOOL_EVENT& aEvent )
Activate(); Activate();
// Prime the pump // Prime the pump
if( aEvent.HasPosition() ) if( aEvent.HasPosition() || isText || isGlobalLabel || isHierLabel || isNetLabel )
m_toolMgr->RunAction( ACTIONS::cursorClick ); m_toolMgr->RunAction( ACTIONS::cursorClick );
auto setCursor = auto setCursor =

View File

@ -88,7 +88,7 @@ int PL_DRAWING_TOOLS::PlaceItem( const TOOL_EVENT& aEvent )
Activate(); Activate();
// Prime the pump // Prime the pump
if( aEvent.HasPosition() ) if( aEvent.HasPosition() || isText )
m_toolMgr->RunAction( ACTIONS::cursorClick ); m_toolMgr->RunAction( ACTIONS::cursorClick );
auto setCursor = auto setCursor =

View File

@ -436,8 +436,7 @@ int DRAWING_TOOL::PlaceText( const TOOL_EVENT& aEvent )
Activate(); Activate();
// Prime the pump // Prime the pump
if( aEvent.HasPosition() ) m_toolMgr->RunAction( ACTIONS::cursorClick );
m_toolMgr->RunAction( ACTIONS::cursorClick );
auto setCursor = auto setCursor =
[&]() [&]()