Diffusion Krita 733a9480fbdc

Fix KoColorSpace::differenceA() handle fully transparent pixels properly

Authored by dkazakov on Jun 12 2020, 6:09 PM.

Description

Fix KoColorSpace::differenceA() handle fully transparent pixels properly

If the pixel is fully transparent, then it is treated as if its color
channels would be the same as ones of the other pixel. It fixes the
problem of calculating threshold of flood fill tools.

BUG:416892