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:
parent
e6723de0b2
commit
97d3b02a49
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue