Don't update panel while drawing a dimension
This commit is contained in:
parent
73b2a10cab
commit
d2086eecdd
|
@ -654,7 +654,6 @@ int DRAWING_TOOL::DrawDimension( const TOOL_EVENT& aEvent )
|
||||||
dimension->AdjustDimensionDetails( boardSettings.m_DimensionPrecision );
|
dimension->AdjustDimensionDetails( boardSettings.m_DimensionPrecision );
|
||||||
|
|
||||||
preview.Add( dimension );
|
preview.Add( dimension );
|
||||||
frame()->SetMsgPanel( dimension );
|
|
||||||
|
|
||||||
m_controls->SetAutoPan( true );
|
m_controls->SetAutoPan( true );
|
||||||
m_controls->CaptureCursor( true );
|
m_controls->CaptureCursor( true );
|
||||||
|
@ -724,10 +723,6 @@ int DRAWING_TOOL::DrawDimension( const TOOL_EVENT& aEvent )
|
||||||
|
|
||||||
// Show a preview of the item
|
// Show a preview of the item
|
||||||
m_view->Update( &preview );
|
m_view->Update( &preview );
|
||||||
if( step )
|
|
||||||
frame()->SetMsgPanel( dimension );
|
|
||||||
else
|
|
||||||
frame()->SetMsgPanel( board() );
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
evt->SetPassEvent();
|
evt->SetPassEvent();
|
||||||
|
|
Loading…
Reference in New Issue