raster pushed a commit to branch master.

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

commit e22de294617c77770d64f3bfec9b08bac89e5017
Author: Carsten Haitzler (Rasterman) <[email protected]>
Date:   Wed Jan 25 22:30:13 2017 +0900

    edje - fix border scale by interpolation
    
    several theme elements uses transitioning border scale by for
    animation and this has been broken for quite some time now. the theme
    sall looked wrong for ages. i just never junted down exactly why, but
    i know... i wrote the themes that made use of scale by animation
    interpolating from like 0.1 to 1 and so on to make for example a
    shadow go from sharp to blurry... the theme hasnt changed. edje did.
    it broke.
    
    this fixes it back to where it was. interpolation now works. i left a
    comment so no one tries to "fix it".
    
    @fix
---
 src/lib/edje/edje_calc.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/lib/edje/edje_calc.c b/src/lib/edje/edje_calc.c
index 277321a..320fbff 100644
--- a/src/lib/edje/edje_calc.c
+++ b/src/lib/edje/edje_calc.c
@@ -3272,7 +3272,8 @@ _edje_image_recalc_apply(Edje *ed, Edje_Real_Part *ep, 
Edje_Calc_Params *p3, Edj
    p3->type.common->spec.image.t = chosen_desc->image.border.t;
    p3->type.common->spec.image.b = chosen_desc->image.border.b;
 
-   p3->type.common->spec.image.border_scale_by = 
chosen_desc->image.border.scale_by;
+//  XXX: do NOT do this. you can use border scale by to animate transitions
+//   p3->type.common->spec.image.border_scale_by = 
chosen_desc->image.border.scale_by;
 
    if (set && set->set)
      {

-- 


Reply via email to