libsysprof-gtk: lighten alpha for selection column

This is darker than the ruler posts, but lighter than foreground.
This commit is contained in:
Christian Hergert
2023-06-30 13:31:42 -07:00
parent 4babfaa6b7
commit 508d1abbb6

View File

@ -121,13 +121,14 @@ G_GNUC_BEGIN_IGNORE_DEPRECATIONS
{
GtkStyleContext *style_context = gtk_widget_get_style_context (GTK_WIDGET (self));
gtk_style_context_get_color (style_context, &color);
color.alpha *= .5;
}
G_GNUC_END_IGNORE_DEPRECATIONS
gtk_snapshot_append_color (snapshot,
&color,
&GRAPHENE_RECT_INIT (x, y, 1,
gtk_widget_get_height (GTK_WIDGET (self->list_view))));
&GRAPHENE_RECT_INIT (x, 0, 1,
gtk_widget_get_height (GTK_WIDGET (self))));
}
static void