gengrid: fix highlight bug in disabled item
Summary: if item is disabled, item must be not highlighted by touch events. Signed-off-by: SangHyeon Lee <sh10233.lee@samsung.com>
This commit is contained in:
parent
277865c410
commit
30445b6ea6
|
@ -886,6 +886,7 @@ _item_highlight(Elm_Gen_Item *it)
|
|||
ELM_GENGRID_DATA_GET_FROM_ITEM(it, sd);
|
||||
|
||||
if (_is_no_select(it) ||
|
||||
(elm_wdg_item_disabled_get(EO_OBJ(it))) ||
|
||||
(!sd->highlight) || (it->highlighted) ||
|
||||
(it->generation < sd->generation))
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue