Fix dimension drawing bug.
This commit is contained in:
parent
4c6e54b3ea
commit
3a8ffd40b8
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue