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
This commit is contained in:
Carsten Haitzler 2017-01-25 22:30:13 +09:00
parent a279852c86
commit e22de29461
1 changed files with 2 additions and 1 deletions

View File

@ -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)
{