projects
/
framework
/
uifw
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54b3b17
)
[colorselector] Sync with upstream
author
Mike McCormack
<mj.mccormack@samsung.com>
Wed, 23 Nov 2011 09:06:33 +0000
(18:06 +0900)
committer
Mike McCormack
<mj.mccormack@samsung.com>
Wed, 23 Nov 2011 09:06:33 +0000
(18:06 +0900)
src/lib/elm_colorselector.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_colorselector.c
b/src/lib/elm_colorselector.c
index
ca7ec0a
..
ebbfb64
100644
(file)
--- 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;