Raise limit to prevent zooming on cross-probing.
Fixes https://gitlab.com/kicad/code/kicad/issues/5149
This commit is contained in:
parent
393bb0fd83
commit
e05cd0e914
|
@ -137,7 +137,7 @@ SCH_ITEM* SCH_EDITOR_CONTROL::FindComponentAndItem( const wxString& aReference,
|
|||
fabs( bbSize.y / screenSize.y ) );
|
||||
|
||||
// Try not to zoom on every cross-probe; it gets very noisy
|
||||
if( ratio < 0.1 || ratio > 1.0 )
|
||||
if( ratio < 0.5 || ratio > 1.0 )
|
||||
getView()->SetScale( getView()->GetScale() / ratio );
|
||||
}
|
||||
}
|
||||
|
|
|
@ -275,7 +275,7 @@ void PCB_EDIT_FRAME::ExecuteRemoteCommand( const char* cmdline )
|
|||
fabs( bbSize.y / screenSize.y ) );
|
||||
|
||||
// Try not to zoom on every cross-probe; it gets very noisy
|
||||
if( crossProbingSettings.zoom_to_fit && ( ratio < 0.1 || ratio > 1.0 ) )
|
||||
if( crossProbingSettings.zoom_to_fit && ( ratio < 0.5 || ratio > 1.0 ) )
|
||||
view->SetScale( view->GetScale() / ratio );
|
||||
|
||||
view->SetCenter( bbox.Centre() );
|
||||
|
|
Loading…
Reference in New Issue