Fix border_radius in modal example

This commit is contained in:
Héctor Ramón Jiménez 2022-12-02 18:55:10 +01:00
parent 4029a1cdaa
commit 6d39aebec6
No known key found for this signature in database
GPG key ID: 140CC052C94F138E

View file

@ -412,7 +412,7 @@ mod modal {
renderer.fill_quad(
renderer::Quad {
bounds: layout.bounds(),
border_radius: 0.0,
border_radius: renderer::BorderRadius::from(0.0),
border_width: 0.0,
border_color: Color::TRANSPARENT,
},