Skip to content

Commit

Permalink
Fix unnecessary dereference in widget::text
Browse files Browse the repository at this point in the history
  • Loading branch information
hecrj committed Aug 30, 2023
1 parent bcd9fdb commit b51ffe5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/widget/text.rs
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ pub fn draw<Renderer>(
};

renderer.fill_paragraph(
&paragraph,
paragraph,
Point::new(x, y),
appearance.color.unwrap_or(style.text_color),
);
Expand Down

0 comments on commit b51ffe5

Please sign in to comment.