Fix unnecessary dereference in widget::text
This commit is contained in:
parent
bcd9fdb521
commit
b51ffe53ed
1 changed files with 1 additions and 1 deletions
|
|
@ -266,7 +266,7 @@ pub fn draw<Renderer>(
|
||||||
};
|
};
|
||||||
|
|
||||||
renderer.fill_paragraph(
|
renderer.fill_paragraph(
|
||||||
¶graph,
|
paragraph,
|
||||||
Point::new(x, y),
|
Point::new(x, y),
|
||||||
appearance.color.unwrap_or(style.text_color),
|
appearance.color.unwrap_or(style.text_color),
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue