mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-29 06:51:10 +00:00
GtkSymbolicColor: Initialize alpha when resolving shades.
This commit is contained in:
parent
975f133d63
commit
4ca3b5071e
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user