diff --git a/examples/3d/color_grading.rs b/examples/3d/color_grading.rs index 7b0b9894a1..28420c6a44 100644 --- a/examples/3d/color_grading.rs +++ b/examples/3d/color_grading.rs @@ -639,7 +639,7 @@ fn update_ui_state( { if let Some(ref value_label) = value_label { for section in &mut text.sections { - section.value = value_label.clone(); + section.value.clone_from(value_label); } } }