hermet pushed a commit to branch master.

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

commit c33f8358365c6759c38d04cd7f303398c994b6e4
Author: Hermet Park <her...@hermet.pe.kr>
Date:   Thu Apr 28 22:45:20 2016 +0900

    live_edit: fix center guide text positioning problem.
    
    This problem looks it just introduced from copy & paste...
    
    @fix T3568
---
 src/bin/live_edit.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/live_edit.c b/src/bin/live_edit.c
index b3e8b71..66d84fd 100644
--- a/src/bin/live_edit.c
+++ b/src/bin/live_edit.c
@@ -189,7 +189,7 @@ info_text_update(live_data *ld)
    x = (layout_x + (layout_w/2)) - (w/2);
    y = (layout_y + (layout_h/2)) - (h/2);
    if (x < lx) x = lx;
-   if (y < lx) y = ly;
+   if (y < ly) y = ly;
    if ((x + w) > (lx + lw)) x = ((lx + lw) - w);
    if ((y + h) > (ly + lh)) y = ((ly + lh) - h);
    evas_object_move(ld->info_text[Info_Text_Size], x, y);

-- 


Reply via email to