From 86b8057c6020591ff5b46b77efabd118b807c903 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Sun, 12 Dec 2010 16:32:39 +0000 Subject: Remove pointless rectangle fill under text. svn path=/trunk/netsurf/; revision=11037 --- desktop/plot_style.c | 2 +- desktop/tree.c | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) (limited to 'desktop') diff --git a/desktop/plot_style.c b/desktop/plot_style.c index 504609e65..452075d91 100644 --- a/desktop/plot_style.c +++ b/desktop/plot_style.c @@ -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; diff --git a/desktop/tree.c b/desktop/tree.c index 293ddb69b..b4626259f 100644 --- a/desktop/tree.c +++ b/desktop/tree.c @@ -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, -- cgit v1.2.3