From c3c01f468154b4aff1b15eebad70a4d7f31977dd Mon Sep 17 00:00:00 2001 From: Robert Fewell <14uBobIT@gmail.com> Date: Sat, 9 Sep 2017 17:09:11 +0100 Subject: [PATCH] Change the line position to make double thickness line on cursor Move the second line to above the normal one so that it is visible when there is a full height sheet --- gnucash/register/register-gnome/gnucash-sheet-private.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gnucash/register/register-gnome/gnucash-sheet-private.c b/gnucash/register/register-gnome/gnucash-sheet-private.c index 3cc8614a06..c987b92403 100644 --- a/gnucash/register/register-gnome/gnucash-sheet-private.c +++ b/gnucash/register/register-gnome/gnucash-sheet-private.c @@ -707,8 +707,9 @@ gnucash_sheet_draw_cursor (GnucashCursor *cursor, cairo_t *cr) cairo_stroke (cr); // make the bottom line thicker - cairo_move_to (cr, cursor->x - x + 0.5, cursor->y - y + cursor->h - 1.5); + cairo_move_to (cr, cursor->x - x + 0.5, cursor->y - y + cursor->h - 3.5); cairo_rel_line_to (cr, cursor->w, 0); + cairo_set_line_width (cr, 1.0); cairo_stroke (cr); /* draw rectangle around the active cell */