Handle modern-toolset panning.

Fixes: lp:1748850
* https://bugs.launchpad.net/kicad/+bug/1748850
This commit is contained in:
Jeff Young 2019-04-17 23:54:27 +01:00
parent 0772b54845
commit 8e2ef339b6
1 changed files with 1 additions and 1 deletions

View File

@ -277,7 +277,7 @@ void SCH_DRAW_PANEL::OnMouseEvent( wxMouseEvent& event )
if( event.Leaving() )
m_canStartBlock = -1;
if( !IsMouseCaptured() ) // No mouse capture in progress.
if( !IsMouseCaptured() && !controls->GetSettings().m_cursorCaptured )
SetAutoPanRequest( false );
if( GetParent()->IsActive() )