Commit d49013a9 authored by Jody Goldberg's avatar Jody Goldberg Committed by Jody Goldberg
Browse files

check for background before checking for selection.


2001-02-23  Jody Goldberg <jgoldberg@home.com>

	* src/item-grid.c (item_grid_draw_merged_range) : check for background
	  before checking for selection.
parent 8cf446f1
2001-02-23 Jody Goldberg <jgoldberg@home.com>
* src/item-grid.c (item_grid_draw_merged_range) : check for background
before checking for selection.
* src/sheet-merge.c (sheet_merge_add) : don't apply the borders from
the corner cell to the whole region. Just the content.
......
2001-02-23 Jody Goldberg <jgoldberg@home.com>
* src/item-grid.c (item_grid_draw_merged_range) : check for background
before checking for selection.
* src/sheet-merge.c (sheet_merge_add) : don't apply the borders from
the corner cell to the whole region. Just the content.
......
2001-02-23 Jody Goldberg <jgoldberg@home.com>
* src/item-grid.c (item_grid_draw_merged_range) : check for background
before checking for selection.
* src/sheet-merge.c (sheet_merge_add) : don't apply the borders from
the corner cell to the whole region. Just the content.
......
2001-02-23 Jody Goldberg <jgoldberg@home.com>
* src/item-grid.c (item_grid_draw_merged_range) : check for background
before checking for selection.
* src/sheet-merge.c (sheet_merge_add) : don't apply the borders from
the corner cell to the whole region. Just the content.
......
2001-02-23 Jody Goldberg <jgoldberg@home.com>
* src/item-grid.c (item_grid_draw_merged_range) : check for background
before checking for selection.
* src/sheet-merge.c (sheet_merge_add) : don't apply the borders from
the corner cell to the whole region. Just the content.
......
......@@ -195,8 +195,9 @@ item_grid_draw_merged_range (GdkDrawable *drawable, ItemGrid *grid,
last = range->end.row;
b += scg_colrow_distance_get (grid->scg, FALSE, view->start.row, last+1);
if (is_selected ||
gnumeric_background_set_gc (mstyle, gc, grid->canvas_item.canvas, is_selected))
/* Check for background THEN selection */
if (gnumeric_background_set_gc (mstyle, gc, grid->canvas_item.canvas, is_selected) ||
is_selected)
/* Remember X excludes the far pixels */
gdk_draw_rectangle (drawable, gc, TRUE, l, t, r-l+1, b-t+1);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment