Fix TextInput inner border radius in iced_wgpu

This commit is contained in:
Héctor Ramón Jiménez 2019-12-03 07:40:56 +01:00
parent 60b32a9fed
commit 0b5409c53d

View File

@ -45,7 +45,7 @@ impl text_input::Renderer for Renderer {
height: bounds.height - 2.0, height: bounds.height - 2.0,
}, },
background: Background::Color(Color::WHITE), background: Background::Color(Color::WHITE),
border_radius: 5, border_radius: 4,
}; };
let size = f32::from(size); let size = f32::from(size);