fix: radius on headerbar

This commit is contained in:
Ashley Wulber 2023-10-10 12:43:26 -04:00
parent bd35a99b5c
commit dbe33ad9b7
No known key found for this signature in database
GPG key ID: 5216D4F46A90A820

View file

@ -412,7 +412,12 @@ impl container::StyleSheet for Theme {
.add_stop(0.0, header_top.into()) .add_stop(0.0, header_top.into())
.add_stop(1.0, header_bottom.into()), .add_stop(1.0, header_bottom.into()),
))), ))),
border_radius: BorderRadius::from([16.0, 16.0, 0.0, 0.0]), border_radius: BorderRadius::from([
palette.corner_radii.radius_xs[0],
palette.corner_radii.radius_xs[3],
0.0,
0.0,
]),
border_width: 0.0, border_width: 0.0,
border_color: Color::TRANSPARENT, border_color: Color::TRANSPARENT,
} }