mirror of
https://github.com/bevyengine/bevy
synced 2024-11-10 07:04:33 +00:00
Implement suggestion from CI
This commit is contained in:
parent
961b24deaf
commit
6069f95019
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue