mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-15 10:43:15 +02:00
Formatting.
This commit is contained in:
parent
937f225df0
commit
d16a5bf87d
@ -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 )
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user