Merge branch 'master' into advanced-text

This commit is contained in:
Héctor Ramón Jiménez 2023-05-08 14:53:36 +02:00
commit b8c2cca384
No known key found for this signature in database
GPG key ID: 140CC052C94F138E

View file

@ -508,7 +508,11 @@ where
if is_selected {
renderer.fill_quad(
renderer::Quad {
bounds,
bounds: Rectangle {
x: bounds.x + appearance.border_width,
width: bounds.width - appearance.border_width * 2.0,
..bounds
},
border_color: Color::TRANSPARENT,
border_width: 0.0,
border_radius: appearance.border_radius.into(),