hermet pushed a commit to branch master.

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

commit 56816ab1f4760780df58c8810ea8b9458ffdc2d5
Author: ChunEon Park <her...@hermet.pe.kr>
Date:   Wed Jun 24 15:11:44 2015 +0900

    live edit: don't clip by symbol layout but live view.
    
    texts/control points don't need to be clipped by symbol layout.
    if the zoom level is enoughly small and there is enough space to
    display the control points and text, then we can display them.
---
 src/bin/live_edit.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/bin/live_edit.c b/src/bin/live_edit.c
index 79c9396..f9b58c8 100644
--- a/src/bin/live_edit.c
+++ b/src/bin/live_edit.c
@@ -637,7 +637,7 @@ ctrl_pt_init(live_data *ld)
    for (i = 0; i < Ctrl_Pt_Cnt; i++)
      {
         Evas_Object *layout = elm_layout_add(ld->layout);
-        evas_object_smart_member_add(layout, ld->layout);
+        evas_object_smart_member_add(layout, ld->live_view);
         elm_layout_file_set(layout, EDJE_PATH,  "ctrl_pt");
         evas_object_resize(layout, ctrl_size, ctrl_size);
         evas_object_show(layout);
@@ -836,7 +836,7 @@ info_text_init(live_data *ld)
    for (i = 0; i < Info_Text_Cnt; i++)
      {
         Evas_Object *text = evas_object_text_add(e);
-        evas_object_smart_member_add(text, ld->layout);
+        evas_object_smart_member_add(text, ld->live_view);
         evas_object_pass_events_set(text, EINA_TRUE);
         evas_object_layer_set(text, INFO_TEXT_LAYER);
         evas_object_text_font_set(text, LIVE_EDIT_FONT,

-- 


Reply via email to