hermet pushed a commit to branch master.

http://git.enlightenment.org/tools/enventor.git/commit/?id=d4ea9572460a3556d5bd2a0ad8e4a96ba710427a

commit d4ea9572460a3556d5bd2a0ad8e4a96ba710427a
Author: Taehyub Kim <taehyub....@samsung.com>
Date:   Tue Mar 29 19:41:58 2016 +0900

    edj_viewer: fix the residual spacer parts when mirror mode is applied
    
    Summary:
    When mirror mode is toggled, the position of spacer parts in preview is not 
changed.
    So I added the code to update spacer parts.
    
    @T3367
    
    Test Plan:
    1. laucnch enventor
    2. added the spacer to preview
    3. toggle mirror mode more than two times.
    4. see the spacer parts whether it is updated or not
    
    Reviewers: Hermet, Jaehyun_Cho, NikaWhite
    
    Differential Revision: https://phab.enlightenment.org/D3835
---
 src/lib/edj_viewer.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/lib/edj_viewer.c b/src/lib/edj_viewer.c
index 46c12e2..acf562c 100644
--- a/src/lib/edj_viewer.c
+++ b/src/lib/edj_viewer.c
@@ -891,4 +891,6 @@ view_mirror_mode_update(view_data *vd)
    if (!vd || !vd->layout) return;
    edje_object_mirrored_set(vd->layout,
                             enventor_obj_mirror_mode_get(vd->enventor));
+   dummy_obj_update(vd->layout);
+   part_obj_geom_cb(vd, evas_object_evas_get(vd->layout), vd->part_obj, NULL);
 }

-- 


Reply via email to