mirror of https://github.com/GNOME/gimp.git
Bug 676978 - Improved visibility icons for Layers dialog
make the strike out line a bit thinner and shorter. We shouldn't change the line's color because using proper theme colors makes sure the line is always perfectly visible.
This commit is contained in:
parent
d4933b3052
commit
e1e32a03a9
|
@ -385,13 +385,13 @@ gimp_cell_renderer_toggle_render (GtkCellRenderer *cell,
|
|||
if (inconsistent)
|
||||
{
|
||||
gdk_cairo_set_source_color (cr, &style->fg[state]);
|
||||
cairo_set_line_width (cr, 2.0);
|
||||
cairo_set_line_width (cr, 1.5);
|
||||
cairo_move_to (cr,
|
||||
toggle_rect.x + toggle_rect.width,
|
||||
toggle_rect.y);
|
||||
toggle_rect.x + toggle_rect.width - 1,
|
||||
toggle_rect.y + 1);
|
||||
cairo_line_to (cr,
|
||||
toggle_rect.x,
|
||||
toggle_rect.y + toggle_rect.height);
|
||||
toggle_rect.x + 1,
|
||||
toggle_rect.y + toggle_rect.height - 1);
|
||||
cairo_stroke (cr);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue