elm_colorselector: modify to select no item when create colorselector

Summary:
Currently, the first item is marked selected when
the colorselector is added. However, this is not normal behavior
since the first item is not shown selected.
Moreover, always selecting the first item during creation does not
sound natural.

Reviewers: cedric, Hermet, woohyun

Differential Revision: https://phab.enlightenment.org/D2906

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
This commit is contained in:
Sung-Taek Hong 2015-08-04 16:11:01 +02:00 committed by Cedric BAIL
parent e6723de0b2
commit 97d3b02a49
1 changed files with 1 additions and 1 deletions

View File

@ -1714,7 +1714,7 @@ _elm_colorselector_evas_object_smart_add(Eo *obj, Elm_Colorselector_Data *priv)
priv->mode = ELM_COLORSELECTOR_BOTH;
priv->focused = ELM_COLORSELECTOR_PALETTE;
priv->sel_color_type = HUE;
priv->selected = priv->items;
priv->selected = NULL;
priv->er = 255;
priv->eg = 0;
priv->eb = 0;