hermet pushed a commit to branch master.

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

commit 7656155bf365ee588620e50fcbd1321ffee0ce69
Author: Hermet Park <[email protected]>
Date:   Mon Aug 15 14:20:53 2016 +0900

    live_edit: dismiss ctxpopup when view position is changed.
    
    ctxpopup position won't be valid anymore if the live edit object's
     position is updated. so dismiss it.
---
 src/bin/live_edit.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/bin/live_edit.c b/src/bin/live_edit.c
index fb3505b..7e4a39d 100644
--- a/src/bin/live_edit.c
+++ b/src/bin/live_edit.c
@@ -1631,6 +1631,10 @@ live_edit_update_internal(live_data *ld)
    ctrl_pt_update(ld);
    align_line_update(ld);
    info_text_update(ld);
+
+   //ctxpopup position won't be valid anymore.
+   if (ld->rel_to_info.ctxpopup)
+     elm_ctxpopup_dismiss(ld->rel_to_info.ctxpopup);
 }
 
 static void

-- 


Reply via email to