Remove extra radius primary unit properties

This commit is contained in:
ramox81 committed 2026-08-25 14:28:00 +03:00
1 parent f7d8522520
commit 656501e91d
1 file changed
+11
+11
View File
@@ -2391,6 +2391,17 @@ pub fn style_sections(
center_type != "None",
));
}
if let Some(primary_units) = sections
.iter_mut()
.find(|section| section.title == t!("Primary Units").as_ref())
{
primary_units.props.retain(|property| {
!matches!(
property.field,
"dim_sub_units_suffix" | "dim_sub_units_scale"
)
});
}
}
sections