From 55de4c27b849e53cbf9f8c829c2ba220da3b1084 Mon Sep 17 00:00:00 2001 From: o9000 Date: Sun, 2 Oct 2016 14:06:31 +0200 Subject: [PATCH] Separator: fix line bug in vertical panel --- src/separator/separator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/separator/separator.c b/src/separator/separator.c index 51036a6..c005dd9 100644 --- a/src/separator/separator.c +++ b/src/separator/separator.c @@ -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); }