Eeschema: simulator plot: allow standard mac pan and pinch to zoom

This commit is contained in:
Jonatan Liljedahl
2019-11-25 09:24:31 -05:00
committed by Wayne Stambaugh
parent 2cd60cdfaf
commit 7c7d9c3e3f
3 changed files with 77 additions and 21 deletions
+3
View File
@@ -395,6 +395,9 @@ SIM_PLOT_PANEL* SIM_PLOT_FRAME::NewPlotPanel( SIM_TYPE aSimType )
{
SIM_PLOT_PANEL* plotPanel = new SIM_PLOT_PANEL( aSimType, m_plotNotebook, wxID_ANY );
plotPanel->EnableMouseWheelPan(
m_schematicFrame->GetCanvas()->GetViewControls()->IsMousewheelPanEnabled() );
if( m_welcomePanel )
{
m_plotNotebook->DeletePage( 0 );