diff options
author | Mike Blumenkrantz <zmike@samsung.com> | 2019-08-30 14:48:09 -0400 |
---|---|---|
committer | Mike Blumenkrantz <zmike@samsung.com> | 2019-08-30 14:48:09 -0400 |
commit | 25a9a91eb2ad518357480f9628d29c501a13eab0 (patch) | |
tree | 4090e052f53fefe6d353c645030066ffc2c605c3 | |
parent | 7142acd19c88b782122d089c95a81895123b59a8 (diff) | |
download | efl-25a9a91eb2ad518357480f9628d29c501a13eab0.tar.gz |
efl_ui/pan: only emit size change event on pan content size change
Summary:
changing the size of the pan content does not require that the pan
position also changes, so let users of pan sort this out using the correct
events
ref T7708
Depends on D9790
Reviewers: segfaultxavi
Reviewed By: segfaultxavi
Subscribers: cedric, #reviewers, #committers
Tags: #efl_widgets
Maniphest Tasks: T7708
Differential Revision: https://phab.enlightenment.org/D9791
-rw-r--r-- | src/lib/elementary/efl_ui_pan.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lib/elementary/efl_ui_pan.c b/src/lib/elementary/efl_ui_pan.c index 93a234bceb..e01eba3fc3 100644 --- a/src/lib/elementary/efl_ui_pan.c +++ b/src/lib/elementary/efl_ui_pan.c @@ -141,7 +141,6 @@ _efl_ui_pan_content_resize_cb(void *data, psd->content_h = sz.h; evas_object_smart_changed(pobj); } - efl_event_callback_call(pobj, EFL_UI_PAN_EVENT_PAN_CONTENT_POSITION_CHANGED, NULL); efl_event_callback_call(pobj, EFL_UI_PAN_EVENT_PAN_CONTENT_SIZE_CHANGED, &sz); } |