Use f32 for Icon::size and remove unnecessary conversions

This commit is contained in:
Héctor Ramón Jiménez 2023-04-11 05:13:56 +02:00
parent 898307e9ac
commit 0e2fc99eb8
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
2 changed files with 7 additions and 7 deletions

View file

@ -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,
});
}