jpeg pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=8c06c47301aaf590a29a976c24b725dde223258b

commit 8c06c47301aaf590a29a976c24b725dde223258b
Author: Jean-Philippe Andre <jp.an...@samsung.com>
Date:   Fri Nov 25 10:41:41 2016 +0900

    theme: Fix 1 pixel offset and hide clipped regions
    
    Thanks @raster for pointing this out: title bar and menu bar
    were resized down to 1 pixel high rather than 0. This meant that
    all CSD windows would see a 1-pixel line between the title bar
    and the app content, while SSD windows would see a 2-pixel line.
    
    Also clip out the icon, this makes a 1x1 pixel disappear from the
    top-left corner.
---
 data/elementary/themes/edc/elm/border.edc | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/data/elementary/themes/edc/elm/border.edc 
b/data/elementary/themes/edc/elm/border.edc
index cd75d4b..1c5a25d 100644
--- a/data/elementary/themes/edc/elm/border.edc
+++ b/data/elementary/themes/edc/elm/border.edc
@@ -35,7 +35,6 @@ group { name: "elm/border/base/default";
       spacer { "elm.spacer.opaque";
          desc {
             rel1.to: "top_clip";
-            rel1.offset: 0 -1;
             rel2.to: "bottom_clip";
          }
          desc { "max"; inherit: "default"; }
@@ -165,13 +164,14 @@ group { name: "elm/border/base/default";
             rel1.to: "shadow_spacer";
             rel2.to_y: "title2";
             rel2.to_x: "shadow_spacer";
-            rel2.offset: -1 0;
             vis;
          }
          desc { "hidden";
             inherit: "default";
             rel1.relative: 0.0 0.0;
+            rel2.to: "shadow_spacer";
             rel2.relative: 1.0 0.0;
+            rel2.offset: -1 -1;
             max: -1 0;
             min: 0 0;
             fixed: 0 1;
@@ -279,6 +279,7 @@ group { name: "elm/border/base/default";
          }
       }
       swallow {  "elm.swallow.icon"; nomouse;
+         clip_to: "top_clip";
          desc { "default";
             rel1.to: "icon";
             rel1.relative: 0.15 0.15;

-- 


Reply via email to