summaryrefslogtreecommitdiffstats
path: root/widget
diff options
context:
space:
mode:
authortrav90 <travawine@protonmail.ch>2018-04-11 11:14:15 -0500
committertrav90 <travawine@protonmail.ch>2018-04-11 11:14:15 -0500
commita0a79a9aa3af02ece6d18b5ee91bab9989941a41 (patch)
treedffb9c1b96afb3b7694926542ffdd4fce13dc80e /widget
parent54465cc4acd53921f00339abd8fcbab4550bf090 (diff)
downloadUXP-a0a79a9aa3af02ece6d18b5ee91bab9989941a41.tar
UXP-a0a79a9aa3af02ece6d18b5ee91bab9989941a41.tar.gz
UXP-a0a79a9aa3af02ece6d18b5ee91bab9989941a41.tar.lz
UXP-a0a79a9aa3af02ece6d18b5ee91bab9989941a41.tar.xz
UXP-a0a79a9aa3af02ece6d18b5ee91bab9989941a41.zip
[GTK3] Set alpha component appropriately in operator over for -moz-field
Diffstat (limited to 'widget')
-rw-r--r--widget/gtk/nsLookAndFeel.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/widget/gtk/nsLookAndFeel.cpp b/widget/gtk/nsLookAndFeel.cpp
index 562eaa97b..d2b82e495 100644
--- a/widget/gtk/nsLookAndFeel.cpp
+++ b/widget/gtk/nsLookAndFeel.cpp
@@ -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;
}
}