Orthogonal dimension are always cardinal, even when their start points are not.
Fixes https://gitlab.com/kicad/code/kicad/issues/13728
(cherry picked from commit bb2a0f825a
)
This commit is contained in:
parent
a713ee852c
commit
ba4773e448
|
@ -1128,7 +1128,7 @@ int DRAWING_TOOL::DrawDimension( const TOOL_EVENT& aEvent )
|
|||
grid.SetSnap( !evt->Modifier( MD_SHIFT ) );
|
||||
grid.SetUseGrid( getView()->GetGAL()->GetGridSnapping() && !evt->DisableGridSnapping() );
|
||||
|
||||
if( step == SET_HEIGHT )
|
||||
if( step == SET_HEIGHT && t != PCB_DIM_ORTHOGONAL_T && t != PCB_FP_DIM_ORTHOGONAL_T )
|
||||
{
|
||||
if( dimension->GetStart().x != dimension->GetEnd().x
|
||||
&& dimension->GetStart().y != dimension->GetEnd().y )
|
||||
|
|
Loading…
Reference in New Issue