Revert "bug fix: _elm_widget_focus_region_show"
This reverts commit 1574f59fd88c53b380ab83317106164ae1c84652. This breaks focus move in scroller
This commit is contained in:
parent
7812ce77fe
commit
e2db16a8af
|
@ -648,12 +648,6 @@ _elm_widget_focus_region_show(Eo *obj, Elm_Widget_Smart_Data *_pd EINA_UNUSED)
|
|||
|
||||
if (_elm_scrollable_is(o) && !elm_widget_disabled_get(o))
|
||||
{
|
||||
if (!elm_widget_focus_region_get(o, &x, &y, &w, &h))
|
||||
{
|
||||
o = elm_widget_parent_get(o);
|
||||
continue;
|
||||
}
|
||||
|
||||
switch (_elm_config->focus_autoscroll_mode)
|
||||
{
|
||||
case ELM_FOCUS_AUTOSCROLL_MODE_SHOW:
|
||||
|
@ -665,6 +659,13 @@ _elm_widget_focus_region_show(Eo *obj, Elm_Widget_Smart_Data *_pd EINA_UNUSED)
|
|||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
if (!elm_widget_focus_region_get(o, &x, &y, &w, &h))
|
||||
{
|
||||
o = elm_widget_parent_get(o);
|
||||
continue;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue