Parameter tuning for hiding dynamic ratsnest
This commit is contained in:
parent
9cbcb3224c
commit
efdf0c6b84
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue