Temporary disable cursor centering
This commit is contained in:
parent
6d7a7a3233
commit
ca36f15fee
|
@ -548,8 +548,8 @@ void SIM_PLOT_PANEL::EnableCursor( const wxString& aName, bool aEnable )
|
||||||
if( aEnable )
|
if( aEnable )
|
||||||
{
|
{
|
||||||
CURSOR* c = new CURSOR( t );
|
CURSOR* c = new CURSOR( t );
|
||||||
int plotCenter = GetMarginLeft() + ( GetXScreen() - GetMarginLeft() - GetMarginRight() ) / 2;
|
//int plotCenter = GetMarginLeft() + ( GetXScreen() - GetMarginLeft() - GetMarginRight() ) / 2;
|
||||||
c->Move( wxPoint( plotCenter, 0 ) );
|
//c->Move( wxPoint( plotCenter, 0 ) );
|
||||||
t->SetCursor( c );
|
t->SetCursor( c );
|
||||||
AddLayer( c );
|
AddLayer( c );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue