From: Marcel Hollerbach Date: Tue, 9 Jul 2019 15:37:05 +0000 (+0200) Subject: efl_ui_pan: emit the viewport change when the position changes X-Git-Tag: accepted/tizen/unified/20190711.062823~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0908af23263d018b3162da90a8f2abc58bab01e4;p=platform%2Fupstream%2Fefl.git efl_ui_pan: emit the viewport change when the position changes otherwise the viewport changes are not propagated correctly. This is needed in order to have the new item_container bug free. Reviewed-by: Mike Blumenkrantz Differential Revision: https://phab.enlightenment.org/D9249 --- diff --git a/src/lib/elementary/efl_ui_pan.c b/src/lib/elementary/efl_ui_pan.c index f56cae3..534b433 100644 --- a/src/lib/elementary/efl_ui_pan.c +++ b/src/lib/elementary/efl_ui_pan.c @@ -33,6 +33,7 @@ _efl_ui_pan_efl_gfx_entity_position_set(Eo *obj, Efl_Ui_Pan_Data *psd, Eina_Posi psd->y = pos.y; evas_object_smart_changed(obj); + efl_event_callback_call(obj, EFL_UI_PAN_EVENT_PAN_VIEWPORT_CHANGED, NULL); } EOLIAN static void