forked from enlightenment/efl
elementary/elm_scroller : When focus_next is tried on the unfocused
scroller, only scroller(not the one of the child objects) will be set as focused. This is because scroller is focusable. SVN revision: 67113
This commit is contained in:
parent
a3935da066
commit
e6b37886a8
|
@ -192,8 +192,11 @@ _elm_scroller_focus_next_hook(const Evas_Object *obj, Elm_Focus_Direction dir, E
|
|||
cur = wd->content;
|
||||
|
||||
/* Try Focus cycle in subitem */
|
||||
if ((elm_widget_can_focus_get(cur)) || (elm_widget_child_can_focus_get(cur)))
|
||||
return elm_widget_focus_next_get(cur, dir, next);
|
||||
if (elm_widget_focus_get(obj))
|
||||
{
|
||||
if ((elm_widget_can_focus_get(cur)) || (elm_widget_child_can_focus_get(cur)))
|
||||
return elm_widget_focus_next_get(cur, dir, next);
|
||||
}
|
||||
|
||||
/* Return */
|
||||
*next = (Evas_Object *)obj;
|
||||
|
|
Loading…
Reference in New Issue