Separator: fix line bug in vertical panel

This commit is contained in:
o9000 2016-10-02 14:06:31 +02:00
parent d49ecee3a7
commit 55de4c27b8

View file

@ -157,7 +157,7 @@ void draw_separator_line(void *obj, cairo_t *c)
cairo_line_to(c, separator->area.width / 2.0, separator->area.height / 2.0 + separator->length / 2.0);
} else {
cairo_move_to(c, separator->area.width / 2.0 - separator->length / 2.0, separator->area.height / 2.0);
cairo_line_to(c, separator->area.width / 2.0 - separator->length / 2.0, separator->area.height / 2.0);
cairo_line_to(c, separator->area.width / 2.0 + separator->length / 2.0, separator->area.height / 2.0);
}
cairo_stroke(c);
}