summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2019-05-29 09:31:06 -0400
committerMike Blumenkrantz <zmike@samsung.com>2019-05-29 12:29:04 -0400
commitf5d92b52973fb62d171e56396f7e517c79c6efe7 (patch)
treeec618af7e3fabb36a00629fe2ebc4c7d13191f5c
parent3d6c345dce5d561bbc3a2dfd9248e00892d6fd40 (diff)
elm/interface_scrollable: return immediately from setting region if no content
Summary: this is a valid case and should be handled without erroring @fix Depends on D8997 Reviewers: cedric Reviewed By: cedric Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8998
-rw-r--r--src/lib/elementary/elm_interface_scrollable.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/elementary/elm_interface_scrollable.c b/src/lib/elementary/elm_interface_scrollable.c
index 6ac896e242..9db380ed68 100644
--- a/src/lib/elementary/elm_interface_scrollable.c
+++ b/src/lib/elementary/elm_interface_scrollable.c
@@ -1964,6 +1964,7 @@ _elm_scroll_wanted_region_set(Evas_Object *obj)
1964 return; 1964 return;
1965 1965
1966 sid->content_info.resized = EINA_FALSE; 1966 sid->content_info.resized = EINA_FALSE;
1967 if (!sid->pan_obj) return;
1967 1968
1968 /* Flip to RTL cords only if init in RTL mode */ 1969 /* Flip to RTL cords only if init in RTL mode */
1969 if (sid->is_mirrored) 1970 if (sid->is_mirrored)