yakov pushed a commit to branch master.

http://git.enlightenment.org/tools/erigo.git/commit/?id=f3955603f0493cfb9d48e93c52acc415f06e55df

commit f3955603f0493cfb9d48e93c52acc415f06e55df
Author: Yakov Goldberg <yako...@samsung.com>
Date:   Sun Dec 13 18:09:55 2015 +0200

    Set drop target border's width to 2
    
    When drawing two borders around the same widget
    one border will be hidden under another.
    So set drop target border's width to 2, it will look like two borders.
    Whether to leave it like this or not: need get UX feedback.
---
 src/bin/gui/editor.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/bin/gui/editor.c b/src/bin/gui/editor.c
index 251f66d..75c1af4 100644
--- a/src/bin/gui/editor.c
+++ b/src/bin/gui/editor.c
@@ -450,10 +450,10 @@ _wdg_border_draw(const Gui_Widget *wdg, Eina_Bool 
visibility, int border_type_co
            }
       case BORDER_DROP_TARGET:
            {
-              LINE(base_obj, BORDER_TOP, BORDER_DROP_TARGET, ox, oy - 1, lw, 
1, visibility);
-              LINE(base_obj, BORDER_BOTTOM, BORDER_DROP_TARGET, ox, oy + oh - 
1, lw, 1, visibility);
-              LINE(base_obj, BORDER_RIGHT, BORDER_DROP_TARGET, ox + ow - 1, oy 
- 1, 1, lh, visibility);
-              LINE(base_obj, BORDER_LEFT, BORDER_DROP_TARGET, ox, oy, 1, lh, 
visibility);
+              LINE(base_obj, BORDER_TOP, BORDER_DROP_TARGET, ox, oy - 1, lw, 
2, visibility);
+              LINE(base_obj, BORDER_BOTTOM, BORDER_DROP_TARGET, ox, oy + oh - 
1, lw, 2, visibility);
+              LINE(base_obj, BORDER_RIGHT, BORDER_DROP_TARGET, ox + ow - 1, oy 
- 1, 2, lh, visibility);
+              LINE(base_obj, BORDER_LEFT, BORDER_DROP_TARGET, ox, oy, 2, lh, 
visibility);
               break;
            }
      }

-- 


Reply via email to