[gimp/metadata-browser] app: fix drawing of the GIMP_HANDLE_CROSS canvas item



commit d1f769573efd60def4f12dd15cd79a5994d9f263
Author: Mikael Magnusson <mikachu src gnome org>
Date:   Tue Aug 16 01:14:22 2011 +0200

    app: fix drawing of the GIMP_HANDLE_CROSS canvas item

 app/display/gimpcanvashandle.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/app/display/gimpcanvashandle.c b/app/display/gimpcanvashandle.c
index 31e1db5..67c184f 100644
--- a/app/display/gimpcanvashandle.c
+++ b/app/display/gimpcanvashandle.c
@@ -336,10 +336,10 @@ gimp_canvas_handle_draw (GimpCanvasItem   *item,
 
     case GIMP_HANDLE_CROSS:
       cairo_move_to (cr, x - private->width / 2, y);
-      cairo_line_to (cr, x + private->width / 2, y);
+      cairo_line_to (cr, x + private->width / 2 - 0.5, y);
 
       cairo_move_to (cr, x, y - private->height / 2);
-      cairo_line_to (cr, x, y + private->height / 2);
+      cairo_line_to (cr, x, y + private->height / 2 - 0.5);
 
       _gimp_canvas_item_stroke (item, cr);
       break;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]