Use f32 for Icon::size and remove unnecessary conversions
This commit is contained in:
parent
898307e9ac
commit
0e2fc99eb8
2 changed files with 7 additions and 7 deletions
|
|
@ -583,7 +583,7 @@ impl<'a> Step {
|
|||
text_input = text_input.icon(text_input::Icon {
|
||||
font: ICON_FONT,
|
||||
code_point: '\u{e900}',
|
||||
size: Some(35),
|
||||
size: Some(35.0),
|
||||
position: text_input::IconPosition::Right,
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue