Don't update panel while drawing a dimension

This commit is contained in:
Marek Roszko 2020-08-15 14:30:57 -04:00 committed by Wayne Stambaugh
parent 73b2a10cab
commit d2086eecdd
1 changed files with 0 additions and 5 deletions

View File

@ -654,7 +654,6 @@ int DRAWING_TOOL::DrawDimension( const TOOL_EVENT& aEvent )
dimension->AdjustDimensionDetails( boardSettings.m_DimensionPrecision );
preview.Add( dimension );
frame()->SetMsgPanel( dimension );
m_controls->SetAutoPan( true );
m_controls->CaptureCursor( true );
@ -724,10 +723,6 @@ int DRAWING_TOOL::DrawDimension( const TOOL_EVENT& aEvent )
// Show a preview of the item
m_view->Update( &preview );
if( step )
frame()->SetMsgPanel( dimension );
else
frame()->SetMsgPanel( board() );
}
else
evt->SetPassEvent();