elementary/scroller - don't focus region show if the scroller is disabled.

This commit is contained in:
ChunEon Park 2013-11-07 22:34:57 +09:00
parent f5fab354a4
commit f9edf8901d
3 changed files with 6 additions and 1 deletions

View File

@ -1735,3 +1735,7 @@
2013-11-03 Daniel Juyung Seo (SeoZ)
* Genlist/Gengrid/List: Added multi select mode.
2013-11-07 ChunEon Park (Hermet)
* scroller: don't focus region show if the scroller is disabled.

View File

@ -307,6 +307,7 @@ Fixes:
* elm_popup breaks theme due to poor namespacing
* ctxpopup: fix elm_object_content_unset didn't unpack content from box
* scroller : fix the scroller to locate the current page correctly in case that the scroller is suddenly resized and then the drag couldn't capture the page location.
* scroller: don't focus region show if the scroller is disabled.
Removals:

View File

@ -624,7 +624,7 @@ _elm_widget_focus_region_show(Eo *obj, void *_pd EINA_UNUSED, va_list *list EINA
{
Evas_Coord px, py;
if (_elm_scrollable_is(o))
if (_elm_scrollable_is(o) && !elm_widget_disabled_get(o))
{
eo_do(o, elm_scrollable_interface_content_region_show(x, y, w, h));