Fix separator not working with frame_width=0
Bug was introduced with 16e38a9a84c46b0cd4fd7b0f2f88e9d8054ccc0b.
This commit is contained in:
parent
d885e93b73
commit
7735c9a4f6
@ -510,7 +510,6 @@ static cairo_surface_t *render_background(cairo_surface_t *srf,
|
||||
else
|
||||
height += settings.separator_height;
|
||||
|
||||
if (settings.frame_width > 0) {
|
||||
draw_rounded_rect(c, x, y, width, height, corner_radius, first, last);
|
||||
|
||||
/* adding frame */
|
||||
@ -532,7 +531,6 @@ static cairo_surface_t *render_background(cairo_surface_t *srf,
|
||||
draw_rounded_rect(c, x, y, width, height, radius_int, first, last);
|
||||
cairo_set_source_rgba(c, cl->frame.r, cl->frame.g, cl->frame.b, cl->frame.a);
|
||||
cairo_fill(c);
|
||||
}
|
||||
|
||||
draw_rounded_rect(c, x, y, width, height, radius_int, first, last);
|
||||
cairo_set_source_rgba(c, cl->bg.r, cl->bg.g, cl->bg.b, cl->bg.a);
|
||||
|
Loading…
x
Reference in New Issue
Block a user