Lower text::Renderer's Font bound from Copy to Clone
This commit is contained in:
parent
a7bcd65bb8
commit
d06e6bfb51
8 changed files with 25 additions and 24 deletions
|
|
@ -454,7 +454,7 @@ where
|
|||
..bounds
|
||||
},
|
||||
size: f32::from(text_size),
|
||||
font: self.font,
|
||||
font: self.font.clone(),
|
||||
color: if is_selected {
|
||||
self.style.selected_text_color
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue