Skip to content

Commit

Permalink
Removed unnecessary clone_weak.
Browse files Browse the repository at this point in the history
  • Loading branch information
ickshonpe committed Jul 5, 2023
1 parent 9478432 commit 357c812
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/bevy_ui/src/render/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -396,9 +396,9 @@ pub fn extract_uinodes(
}
(image.texture.clone_weak(), image.flip_x, image.flip_y)
} else {
(DEFAULT_IMAGE_HANDLE.typed().clone_weak(), false, false)
(DEFAULT_IMAGE_HANDLE.typed(), false, false)
};

extracted_uinodes.uinodes.push(ExtractedUiNode {
stack_index,
transform: transform.compute_matrix(),
Expand Down

0 comments on commit 357c812

Please sign in to comment.