From 207fd04587e7d354c9b98453b01cc0825b2ba556 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 5 Dec 2014 09:00:36 -0500 Subject: [PATCH] include alpha-delta computation in HSV::delta() --- libs/canvas/colors.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/canvas/colors.cc b/libs/canvas/colors.cc index b053e2d1de..361023d300 100644 --- a/libs/canvas/colors.cc +++ b/libs/canvas/colors.cc @@ -376,6 +376,7 @@ HSV::delta (const HSV& other) const d.s = s - other.s; d.v = v - other.v; } + d.a = a - other.a; /* do not clamp - we are returning a delta */ return d; }