Fix clippy lints
This commit is contained in:
parent
700262e05c
commit
8059c40142
3 changed files with 5 additions and 5 deletions
|
|
@ -451,7 +451,7 @@ where
|
|||
let text_size =
|
||||
self.text_size.unwrap_or_else(|| renderer.default_size());
|
||||
let option_height =
|
||||
(text_size * 1.2 + f32::from(self.padding.vertical())) as usize;
|
||||
(text_size * 1.2 + self.padding.vertical()) as usize;
|
||||
|
||||
let offset = viewport.y - bounds.y;
|
||||
let start = (offset / option_height as f32) as usize;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue