Separator: fix line bug in vertical panel
This commit is contained in:
parent
d49ecee3a7
commit
55de4c27b8
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
cairo_line_to(c, separator->area.width / 2.0, separator->area.height / 2.0 + separator->length / 2.0);
|
||||||
} else {
|
} else {
|
||||||
cairo_move_to(c, separator->area.width / 2.0 - separator->length / 2.0, separator->area.height / 2.0);
|
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);
|
cairo_stroke(c);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue