[GTK3] Set alpha component appropriately in operator over for -moz-field

This commit is contained in:
trav90 2018-04-11 11:14:15 -05:00 • committed by Roy Tam
commit c5af75551d

View file

@ -75,6 +75,7 @@ ApplyColorOver(const GdkRGBA& aSource, GdkRGBA* aDest) {
aDest->red = sourceCoef * aSource.red + destCoef * aDest->red;
aDest->green = sourceCoef * aSource.green + destCoef * aDest->green;
aDest->blue = sourceCoef * aSource.blue + destCoef * aDest->blue;
aDest->alpha = resultAlpha;
}
}