commit 253c850ec3188fd747cb05d48ed08078f36bbb64
parent 05a1f5cb46f96fe875585154773a6eb234ee45e9
Author: William Casarin <jb55@jb55.com>
Date: Fri, 19 Nov 2021 14:41:12 -0800
change color on selection instead of desaturating
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/viscal.c b/viscal.c
@@ -2381,7 +2381,7 @@ draw_event (cairo_t *cr, struct cal *cal, struct event *ev,
// TODO: selected event rendering
if (is_selected)
- saturate(&c, 0.1);
+ c.r *= 0.8;
cairo_set_source_rgba(cr, c.r, c.g, c.b, c.a);
draw_rectangle(cr, ev->width, evheight);