Remove pointless rectangle fill under text.

svn path=/trunk/netsurf/; revision=11037
This commit is contained in:
Michael Drake 2010-12-12 16:32:39 +00:00
parent 18b2824d6c
commit 86b8057c60
2 changed files with 1 additions and 4 deletions

View File

@ -69,7 +69,7 @@ plot_style_t const * const plot_style_margin_edge =
/* caret style used in html_redraw_caret */
static plot_style_t plot_style_caret_static = {
.stroke_type = PLOT_OP_TYPE_SOLID,
.stroke_colour = 0x808080, /* todo - choose a proper colour */
.stroke_colour = 0x0000ff, /* todo - choose a proper colour */
};
plot_style_t *plot_style_caret = &plot_style_caret_static;

View File

@ -1552,9 +1552,6 @@ static void tree_draw_node_element(struct tree *tree,
plot_style_fill_black);
} else {
fstyle = &plot_fstyle;
plot.rectangle(x, y, x + width,
y + element->box.height,
plot_style_fill_white);
}
plot.text(x + 4, y + TREE_LINE_HEIGHT * 0.75,