Merge pull request #890 from ramox81/codex/fix-jogged-radius-properties

Fix jogged radius properties and layout
This commit is contained in:
Hakan Seven authored and GitHub committed 2026-08-28 00:35:06 +03:00
commit dffae3f16d
6 files changed
+1113 -608

No files matched your search

-8
View File
@@ -89,14 +89,6 @@ pub fn general_section(entity: &EntityType) -> PropSection {
],
};
if matches!(entity, EntityType::Point(_)) {
let hyperlink = section.props.iter().position(|prop| prop.field == "hyperlink");
let transparency = section.props.iter().position(|prop| prop.field == "transparency");
if let (Some(hyperlink), Some(transparency)) = (hyperlink, transparency) {
section.props.swap(hyperlink, transparency);
}
}
// Thickness (DXF 39) is a General-group property, but only the entity
// types that carry an extrusion thickness expose it (line, circle, arc,
// polyline, text, 2D solid, …). Show it right after Hyperlink for those.