Clean up formatting.

This commit is contained in:
Jeff Young 2024-01-18 16:09:03 +00:00
parent bb74100fe2
commit 61876533df
1 changed files with 5 additions and 5 deletions

View File

@ -542,12 +542,12 @@ static struct SCH_SHAPE_DESC
// On other shapes, these are duplicates of the Start properties. // On other shapes, these are duplicates of the Start properties.
auto isPolygon = auto isPolygon =
[]( INSPECTABLE* aItem ) -> bool []( INSPECTABLE* aItem ) -> bool
{ {
if( SCH_SHAPE* shape = dynamic_cast<SCH_SHAPE*>( aItem ) ) if( SCH_SHAPE* shape = dynamic_cast<SCH_SHAPE*>( aItem ) )
return shape->GetShape() == SHAPE_T::POLY; return shape->GetShape() == SHAPE_T::POLY;
return false; return false;
}; };
propMgr.OverrideAvailability( TYPE_HASH( SCH_SHAPE ), TYPE_HASH( SCH_ITEM ), propMgr.OverrideAvailability( TYPE_HASH( SCH_SHAPE ), TYPE_HASH( SCH_ITEM ),
_HKI( "Position X" ), isPolygon ); _HKI( "Position X" ), isPolygon );