Formatting.

This commit is contained in:
Jeff Young 2025-03-26 17:05:38 +00:00
parent 937f225df0
commit d16a5bf87d

View File

@ -2017,7 +2017,8 @@ int PCB_CONTROL::UpdateMessagePanel( const TOOL_EVENT& aEvent )
// Lambda to accumulate track length if item is a track or arc, otherwise mark invalid
std::function<void( EDA_ITEM* )> accumulateTrackLength;
accumulateTrackLength = [&]( EDA_ITEM* aItem )
accumulateTrackLength =
[&]( EDA_ITEM* aItem )
{
if( PCB_TRACK* track = dynamic_cast<PCB_TRACK*>( aItem ) )
{
@ -2026,6 +2027,7 @@ int PCB_CONTROL::UpdateMessagePanel( const TOOL_EVENT& aEvent )
else if( PCB_SHAPE* shape = dynamic_cast<PCB_SHAPE*>( aItem ) )
{
const SHAPE_T shapeType = shape->GetShape();
if( shapeType == SHAPE_T::SEGMENT || shapeType == SHAPE_T::ARC
|| shapeType == SHAPE_T::BEZIER )
{