Show preview item in drawing tool before mouse is moved.

Fixes https://gitlab.com/kicad/code/kicad/issues/5922
This commit is contained in:
Jeff Young 2020-10-08 19:55:44 +01:00
parent 4095edda07
commit fd22fe8e37
1 changed files with 2 additions and 0 deletions

View File

@ -506,6 +506,8 @@ int SCH_DRAWING_TOOLS::SingleClickPlace( const TOOL_EVENT& aEvent )
// Prime the pump
if( aEvent.HasPosition() )
m_toolMgr->RunAction( ACTIONS::cursorClick );
else
m_toolMgr->RunAction( ACTIONS::refreshPreview );
auto setCursor =
[&]()