From 61876533dfcf3e78879aebe11f837fa65b8d79a2 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Thu, 18 Jan 2024 16:09:03 +0000 Subject: [PATCH] Clean up formatting. --- eeschema/sch_shape.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/eeschema/sch_shape.cpp b/eeschema/sch_shape.cpp index b5f154cf8e..8f97f69310 100644 --- a/eeschema/sch_shape.cpp +++ b/eeschema/sch_shape.cpp @@ -542,12 +542,12 @@ static struct SCH_SHAPE_DESC // On other shapes, these are duplicates of the Start properties. auto isPolygon = []( INSPECTABLE* aItem ) -> bool - { - if( SCH_SHAPE* shape = dynamic_cast( aItem ) ) - return shape->GetShape() == SHAPE_T::POLY; + { + if( SCH_SHAPE* shape = dynamic_cast( aItem ) ) + return shape->GetShape() == SHAPE_T::POLY; - return false; - }; + return false; + }; propMgr.OverrideAvailability( TYPE_HASH( SCH_SHAPE ), TYPE_HASH( SCH_ITEM ), _HKI( "Position X" ), isPolygon );