Fix cursor control with arrow keys
Fixes: lp:1749328 * https://bugs.launchpad.net/kicad/+bug/1749328
This commit is contained in:
parent
5c8accef8e
commit
21a2c8d562
|
@ -306,7 +306,7 @@ void WX_VIEW_CONTROLS::onTimer( wxTimerEvent& aEvent )
|
|||
{
|
||||
case AUTO_PANNING:
|
||||
{
|
||||
if ( !m_settings.m_autoPanEnabled )
|
||||
if( !m_settings.m_autoPanEnabled )
|
||||
{
|
||||
m_state = IDLE;
|
||||
return;
|
||||
|
@ -597,8 +597,8 @@ void WX_VIEW_CONTROLS::refreshMouse()
|
|||
moveEvent.m_altDown = wxGetKeyState( WXK_ALT );
|
||||
#endif
|
||||
|
||||
m_cursorPos = m_view->ToWorld( VECTOR2D( msp.x, msp.y ) );
|
||||
wxPostEvent( m_parentPanel, moveEvent );
|
||||
onMotion( moveEvent );
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue