Reuse entries in text::Cache in iced_wgpu
This commit is contained in:
parent
af62ec1c87
commit
78ad365db2
10 changed files with 69 additions and 46 deletions
|
|
@ -42,7 +42,7 @@ impl backend::Text for Backend {
|
|||
font: Font,
|
||||
bounds: Size,
|
||||
shaping: text::Shaping,
|
||||
) -> (f32, f32) {
|
||||
) -> Size {
|
||||
delegate!(
|
||||
self,
|
||||
backend,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue