forked from enlightenment/efl
Fix elm_scroller_child_size_get() to work all scrollables.
My bad on this one, it was never made to act like so since my new widget schema.
This commit is contained in:
parent
c44bd02f0e
commit
8e644dd21e
|
@ -1200,9 +1200,7 @@ _elm_scroll_content_size_get(Eo *obj EINA_UNUSED, void *_pd, va_list *list)
|
|||
Evas_Coord *w = va_arg(*list, Evas_Coord *);
|
||||
Evas_Coord *h = va_arg(*list, Evas_Coord *);
|
||||
|
||||
if (!sid->content) return;
|
||||
|
||||
evas_object_geometry_get(sid->content, NULL, NULL, w, h);
|
||||
eo_do(sid->pan_obj, elm_obj_pan_content_size_get(w, h));
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in New Issue