Stop adding a new return to a sim command every time we read it.

Also stop moving the legend down 40 pixels every time it's read.
This commit is contained in:
Jeff Young
2023-08-02 16:56:56 +01:00
parent fcc770cad6
commit 094a80ce31
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -420,7 +420,7 @@ SIM_PLOT_TAB::SIM_PLOT_TAB( const wxString& aSimCommand, wxWindow* parent ) :
updateAxes();
// a mpInfoLegend displays le name of traces on the left top panel corner:
m_legend = new mpInfoLegend( wxRect( 0, 40, 200, 40 ), wxTRANSPARENT_BRUSH );
m_legend = new mpInfoLegend( wxRect( 0, 0, 200, 40 ), wxTRANSPARENT_BRUSH );
m_legend->SetVisible( false );
m_plotWin->AddLayer( m_legend );