Fix dimension drawing bug.

This commit is contained in:
Jeff Young 2021-12-26 17:30:21 +00:00
parent 4c6e54b3ea
commit 3a8ffd40b8
1 changed files with 1 additions and 2 deletions

View File

@ -1020,7 +1020,6 @@ int DRAWING_TOOL::DrawDimension( const TOOL_EVENT& aEvent )
textOffset = -textOffset;
radialDim->Text().SetPosition( radialDim->GetKnee() + textOffset );
radialDim->Update();
}
else if( t == PCB_DIM_LEADER_T || t == PCB_FP_DIM_LEADER_T )
{
@ -1030,9 +1029,9 @@ int DRAWING_TOOL::DrawDimension( const TOOL_EVENT& aEvent )
textOffset = -textOffset;
dimension->Text().SetPosition( dimension->GetEnd() + textOffset );
dimension->Update();
}
dimension->Update();
break;
case SET_HEIGHT: