Browse Source

Fix cursor control with arrow keys

Fixes: lp:1749328
* https://bugs.launchpad.net/kicad/+bug/1749328
pull/5/merge
Maciej Suminski 8 years ago
parent
commit
21a2c8d562
  1. 4
      common/view/wx_view_controls.cpp

4
common/view/wx_view_controls.cpp

@ -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…
Cancel
Save