Use f32 for Padding
This commit is contained in:
parent
0872d078e2
commit
3320ac1126
12 changed files with 98 additions and 79 deletions
|
|
@ -141,8 +141,7 @@ where
|
|||
font: Font,
|
||||
bounds: Size,
|
||||
) -> (f32, f32) {
|
||||
self.backend()
|
||||
.measure(content, f32::from(size), font, bounds)
|
||||
self.backend().measure(content, size, font, bounds)
|
||||
}
|
||||
|
||||
fn hit_test(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue