Commit 4ca3b507 authored by Carlos Garnacho's avatar Carlos Garnacho
Browse files

GtkSymbolicColor: Initialize alpha when resolving shades.

parent 975f133d
......@@ -309,6 +309,7 @@ gtk_symbolic_color_resolve (GtkSymbolicColor *color,
resolved_color->red = CLAMP (shade.red * color->shade.factor, 0, 1);
resolved_color->green = CLAMP (shade.green * color->shade.factor, 0, 1);
resolved_color->blue = CLAMP (shade.blue * color->shade.factor, 0, 1);
resolved_color->alpha = shade.alpha;
return TRUE;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment