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
|
|
@ -64,8 +64,8 @@ impl text::Renderer for Null {
|
|||
_font: Font,
|
||||
_bounds: Size,
|
||||
_shaping: text::Shaping,
|
||||
) -> (f32, f32) {
|
||||
(0.0, 20.0)
|
||||
) -> Size {
|
||||
Size::new(0.0, 20.0)
|
||||
}
|
||||
|
||||
fn hit_test(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue