Temporary disable cursor centering

This commit is contained in:
Maciej Suminski 2016-08-11 14:42:14 +02:00
parent 6d7a7a3233
commit ca36f15fee
1 changed files with 2 additions and 2 deletions

View File

@ -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 );
}