bu5hm4n pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=fa60393b4fe90e1031d49f36b74a97e5884cd52a

commit fa60393b4fe90e1031d49f36b74a97e5884cd52a
Author: Marcel Hollerbach <[email protected]>
Date:   Tue Jul 9 17:37:05 2019 +0200

    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 <[email protected]>
    Differential Revision: https://phab.enlightenment.org/D9249
---
 src/lib/elementary/efl_ui_pan.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/lib/elementary/efl_ui_pan.c b/src/lib/elementary/efl_ui_pan.c
index f56cae3c88..534b433661 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

-- 


Reply via email to