From: Patryk Kaczmarek Date: Sun, 24 May 2015 11:07:41 +0000 (+0200) Subject: elm: Fix for accessibility highlight X-Git-Tag: submit/sandbox/upgrade/efl120/20180319.053334~936 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5a50043fee42918605e4f1f4a9e75d6051fc9fb2;p=platform%2Fupstream%2Fefl.git elm: Fix for accessibility highlight original patch: 63002a5c8662c83502a09c8b981e6f0ced976673 @tizen_fix Change-Id: I9e2dacff672d1d0d67988d6d69a565b01012b4f6 --- diff --git a/src/lib/elementary/elm_widget.c b/src/lib/elementary/elm_widget.c index e79b822..7953df5 100644 --- a/src/lib/elementary/elm_widget.c +++ b/src/lib/elementary/elm_widget.c @@ -5637,7 +5637,19 @@ _elm_widget_item_efl_access_component_highlight_grab(Eo *obj, Elm_Widget_Item_Da evas_object_geometry_get(o, &bx, &by, &bw, &bh); x -= bx; y -= by; - elm_interface_scrollable_content_region_show(w1, x, y, w, h); + // TIZEN_ONLY(20171115): [PATCH] Fix for accessibility highlight + switch (_elm_config->focus_autoscroll_mode) + { + case ELM_FOCUS_AUTOSCROLL_MODE_SHOW: + elm_interface_scrollable_content_region_show(w1, x, y, w, h); + break; + case ELM_FOCUS_AUTOSCROLL_MODE_BRING_IN: + elm_interface_scrollable_region_bring_in(w1, x, y, w, h); + break; + default: + break; + } + // } elm_object_accessibility_highlight_set(sd->view, EINA_TRUE);