From ca36f15feecc8c702aec3d06c28052de5fcfe5ef Mon Sep 17 00:00:00 2001 From: Maciej Suminski Date: Thu, 11 Aug 2016 14:42:14 +0200 Subject: [PATCH] Temporary disable cursor centering --- eeschema/sim/sim_plot_panel.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eeschema/sim/sim_plot_panel.cpp b/eeschema/sim/sim_plot_panel.cpp index 4bdb7812d6..75fab4a0e6 100644 --- a/eeschema/sim/sim_plot_panel.cpp +++ b/eeschema/sim/sim_plot_panel.cpp @@ -548,8 +548,8 @@ void SIM_PLOT_PANEL::EnableCursor( const wxString& aName, bool aEnable ) if( aEnable ) { CURSOR* c = new CURSOR( t ); - int plotCenter = GetMarginLeft() + ( GetXScreen() - GetMarginLeft() - GetMarginRight() ) / 2; - c->Move( wxPoint( plotCenter, 0 ) ); + //int plotCenter = GetMarginLeft() + ( GetXScreen() - GetMarginLeft() - GetMarginRight() ) / 2; + //c->Move( wxPoint( plotCenter, 0 ) ); t->SetCursor( c ); AddLayer( c ); }