[planner: 30/32] gantt-row: Draw relationship drag lines with a line width set
- From: Mart Raudsepp <mraudsepp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [planner: 30/32] gantt-row: Draw relationship drag lines with a line width set
- Date: Sun, 20 Jun 2021 18:13:51 +0000 (UTC)
commit 85da18d4c336c64fa10ec3777dbd2c8bd451dede
Author: Mart Raudsepp <leio gentoo org>
Date: Sun Jun 20 14:33:09 2021 +0300
gantt-row: Draw relationship drag lines with a line width set
With old libgnomecanvas, a width of 0 apparently still drew lines,
but with cairo, it faithfully honors the width of zero and thus does
not draw anything with it. Request a width of 1 like the other drag
items do.
src/planner-gantt-row.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/planner-gantt-row.c b/src/planner-gantt-row.c
index 499231c3..6b10250b 100644
--- a/src/planner-gantt-row.c
+++ b/src/planner-gantt-row.c
@@ -2482,7 +2482,7 @@ gantt_row_event (GnomeCanvasItem *item, GdkEvent *event)
"arrow_shape_b", 6.0,
"arrow_shape_c", 3.0,
"fill_color", "black",
- "width_pixels", (guint) 0,
+ "width_pixels", (guint) 1,
"join_style", CAIRO_LINE_JOIN_MITER,
NULL);
gnome_canvas_item_hide (drag_item);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]