Fix direction of ctrl+scroll in 3D viewer
Fixes: lp:1620453 * https://bugs.launchpad.net/kicad/+bug/1620453
This commit is contained in:
parent
caafcde585
commit
20aca7d7bb
|
@ -459,7 +459,7 @@ void EDA_3D_CANVAS::OnMouseWheel( wxMouseEvent &event )
|
||||||
}
|
}
|
||||||
else if( event.ControlDown() )
|
else if( event.ControlDown() )
|
||||||
{
|
{
|
||||||
m_settings.CameraGet().Pan( SFVEC3F( -delta_move, 0.0f, 0.0f ) );
|
m_settings.CameraGet().Pan( SFVEC3F( delta_move, 0.0f, 0.0f ) );
|
||||||
mouseActivity = true;
|
mouseActivity = true;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue