Remove dead code.

This commit is contained in:
Jeff Young
2023-10-04 17:13:08 +01:00
parent c010c7b0ea
commit ed4d66e76b
3 changed files with 0 additions and 14 deletions
-11
View File
@@ -795,16 +795,6 @@ void SIM_PLOT_TAB::UpdatePlotColors()
m_colors.GetPlotColor( SIM_PLOT_COLORS::COLOR_SET::FOREGROUND ),
m_colors.GetPlotColor( SIM_PLOT_COLORS::COLOR_SET::AXIS ) );
// Update color of all traces
for( const auto& [ name, trace ] : m_traces )
{
for( const auto& [ id, cursor ] : trace->GetCursors() )
{
if( cursor )
cursor->SetPen( wxPen( m_colors.GetPlotColor( SIM_PLOT_COLORS::COLOR_SET::CURSOR ) ) );
}
}
m_plotWin->UpdateAll();
}
@@ -967,7 +957,6 @@ void SIM_PLOT_TAB::EnableCursor( const wxString& aVectorName, int aType, int aCu
cursor->SetName( aSignalName );
cursor->SetX( center );
cursor->SetPen( wxPen( m_colors.GetPlotColor( SIM_PLOT_COLORS::COLOR_SET::CURSOR ) ) );
t->SetCursor( aCursorId, cursor );
m_plotWin->AddLayer( cursor );