Parameter tuning for hiding dynamic ratsnest

This commit is contained in:
Maciej Suminski 2017-08-01 17:57:18 +02:00
parent 9cbcb3224c
commit efdf0c6b84
1 changed files with 2 additions and 2 deletions

View File

@ -1154,7 +1154,7 @@ int PCB_EDITOR_CONTROL::UpdateSelectionRatsnest( const TOOL_EVENT& aEvent )
{ {
// Compute ratsnest only when user stops dragging for a moment // Compute ratsnest only when user stops dragging for a moment
connectivity->HideDynamicRatsnest(); connectivity->HideDynamicRatsnest();
m_ratsnestTimer.Start( 40 ); m_ratsnestTimer.Start( 20 );
} }
else else
{ {
@ -1165,7 +1165,7 @@ int PCB_EDITOR_CONTROL::UpdateSelectionRatsnest( const TOOL_EVENT& aEvent )
// If it is too slow, then switch to 'slow ratsnest' mode when // If it is too slow, then switch to 'slow ratsnest' mode when
// ratsnest is calculated when user stops dragging items for a moment // ratsnest is calculated when user stops dragging items for a moment
if( counter.msecs() > 10 ) if( counter.msecs() > 25 )
{ {
m_slowRatsnest = true; m_slowRatsnest = true;
connectivity->HideDynamicRatsnest(); connectivity->HideDynamicRatsnest();