mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-29 20:07:30 +09:00
[GTK3] Set alpha component appropriately in operator over for -moz-field
This commit is contained in:
parent
3e7ff78276
commit
c5af75551d
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue