From 8058216648fad3133044157236732514c603f358 Mon Sep 17 00:00:00 2001 From: Mike McCormack Date: Wed, 23 Nov 2011 18:06:33 +0900 Subject: [PATCH] [colorselector] Sync with upstream --- src/lib/elm_colorselector.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/lib/elm_colorselector.c b/src/lib/elm_colorselector.c index ca7ec0a..ebbfb64 100644 --- a/src/lib/elm_colorselector.c +++ b/src/lib/elm_colorselector.c @@ -406,7 +406,11 @@ _draw_rects(void *data, double x) break; case ALPHA: wd->a = 255.0 * x; - evas_object_color_set(wd->cp[3]->arrow, wd->er, wd->eg, wd->eb, wd->a); + evas_object_color_set(wd->cp[3]->arrow, + (wd->er * wd->a) / 255, + (wd->eg * wd->a) / 255, + (wd->eb * wd->a) / 255, + wd->a); break; default: break; -- 2.7.4