[gnome-builder] editor: draw background grid with alpha
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] editor: draw background grid with alpha
- Date: Tue, 18 Nov 2014 05:43:01 +0000 (UTC)
commit ec280c9d1cf67bac69653585758314e6e7f77061
Author: Christian Hergert <christian hergert me>
Date: Mon Nov 17 21:42:40 2014 -0800
editor: draw background grid with alpha
It's a bit more expensive, but since we can't guarantee that we will
draw first, it needs to be done.
src/editor/gb-source-view.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/editor/gb-source-view.c b/src/editor/gb-source-view.c
index 1e75463..90e4478 100644
--- a/src/editor/gb-source-view.c
+++ b/src/editor/gb-source-view.c
@@ -1374,7 +1374,7 @@ gb_source_view_real_draw_layer (GbSourceView *view,
#define GRID_SIZE 16
if (lines.alpha == 0.0)
- gdk_rgba_parse (&lines, "#eeefee");
+ gdk_rgba_parse (&lines, "rgba(.5,.5,.5,.05)");
cairo_save (cr);
cairo_set_line_width (cr, 1.0);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]