From 8fefff5d2b41f7ac579ad09bd8159f8eeb50a3b3 Mon Sep 17 00:00:00 2001 From: Hakan Seven Date: Tue, 22 Sep 2026 13:37:55 +0300 Subject: [PATCH] docs: reattach the Properties helper doc comments to their functions Three doc paragraphs had stacked above one helper, so each described the function after the one it sits on. Co-Authored-By: Claude Opus 5 --- src/app/properties.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/app/properties.rs b/src/app/properties.rs index fd29ab28b..d9df6ec48 100644 --- a/src/app/properties.rs +++ b/src/app/properties.rs @@ -3702,11 +3702,6 @@ fn set_row(sections: &mut [crate::scene::model::object::PropSection], field: &st } } -/// Replace a row's value with an arbitrary control (editable field, dropdown, -/// colour picker …) rather than plain read-only text. -/// A dimensional constraint's Properties as the reference shows them: the -/// Constraint rows, then only the text rotation for a dynamic dimension -/// and the full dimension sections for an annotational one. /// A Yes/No list row, as the reference shows on/off object properties. fn yes_no_choice(flag: bool) -> crate::scene::model::object::PropValue { crate::scene::model::object::PropValue::Choice { @@ -3715,6 +3710,9 @@ fn yes_no_choice(flag: bool) -> crate::scene::model::object::PropValue { } } +/// A dimensional constraint's Properties as the reference shows them: the +/// Constraint rows, then only the text rotation for a dynamic dimension +/// and the full dimension sections for an annotational one. fn dynamic_dimension_sections( scene: &crate::scene::Scene, handle: Handle, @@ -3850,6 +3848,8 @@ fn dynamic_dimension_sections( result } +/// Replace a row's value with an arbitrary control (editable field, dropdown, +/// colour picker …) rather than plain read-only text. fn set_row_value( sections: &mut [crate::scene::model::object::PropSection], field: &str,