Fix macOS pinch-to-zoom for 3d-viewer.

This commit is contained in:
Bernhard Stegmaier 2017-12-09 13:22:30 +01:00 committed by Maciej Suminski
parent 19d7112fa2
commit 0135d11412
1 changed files with 1 additions and 3 deletions

View File

@ -72,7 +72,7 @@ BEGIN_EVENT_TABLE( EDA_3D_CANVAS, wxGLCanvas )
EVT_MOUSEWHEEL( EDA_3D_CANVAS::OnMouseWheel )
EVT_MOTION( EDA_3D_CANVAS::OnMouseMove )
#ifdef USE_OSX_MAGNIFY_EVENT
#if wxCHECK_VERSION( 3, 1, 0 ) || defined( USE_OSX_MAGNIFY_EVENT )
EVT_MAGNIFY( EDA_3D_CANVAS::OnMagnify )
#endif
@ -515,8 +515,6 @@ void EDA_3D_CANVAS::OnMagnify( wxMouseEvent& event )
DisplayStatus();
Request_refresh();
m_settings.CameraGet().SetCurMousePosition( event.GetPosition() );
}
#endif