From 8b0f3f1ee7d56fc125cfa169df944a713d55fb4a Mon Sep 17 00:00:00 2001 From: Alex Date: Fri, 11 Nov 2022 14:32:02 +0500 Subject: [PATCH] Set keeping the center as the default arc editing mode. --- pcbnew/tools/pcb_point_editor.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pcbnew/tools/pcb_point_editor.cpp b/pcbnew/tools/pcb_point_editor.cpp index 964a90bb18..9eefe915df 100644 --- a/pcbnew/tools/pcb_point_editor.cpp +++ b/pcbnew/tools/pcb_point_editor.cpp @@ -1200,9 +1200,9 @@ void PCB_POINT_EDITOR::updateItem() const const VECTOR2I& cursorPos = getViewControls()->GetCursorPosition( false ); if( m_altEditMethod ) - editArcMidKeepCenter( shape, center, start, mid, end, cursorPos ); - else editArcMidKeepEndpoints( shape, start, end, cursorPos ); + else + editArcMidKeepCenter( shape, center, start, mid, end, cursorPos ); } else if( isModified( m_editPoints->Point( ARC_START ) ) || isModified( m_editPoints->Point( ARC_END ) ) ) @@ -1210,9 +1210,9 @@ void PCB_POINT_EDITOR::updateItem() const const VECTOR2I& cursorPos = getViewControls()->GetCursorPosition(); if( m_altEditMethod ) - editArcEndpointKeepCenter( shape, center, start, mid, end, cursorPos ); - else editArcEndpointKeepTangent( shape, center, start, mid, end, cursorPos ); + else + editArcEndpointKeepCenter( shape, center, start, mid, end, cursorPos ); } break;