diff options
author | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2017-01-25 22:30:13 +0900 |
---|---|---|
committer | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2017-01-25 22:30:13 +0900 |
commit | e22de294617c77770d64f3bfec9b08bac89e5017 (patch) | |
tree | 9040a32afee0b27e94a0e1a783450fea8c855b5e /src | |
parent | a279852c8629ad498b0333274ea368060ec4d672 (diff) |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/edje/edje_calc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/edje/edje_calc.c b/src/lib/edje/edje_calc.c index 277321a246..320fbffc89 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 | |||
3272 | p3->type.common->spec.image.t = chosen_desc->image.border.t; | 3272 | p3->type.common->spec.image.t = chosen_desc->image.border.t; |
3273 | p3->type.common->spec.image.b = chosen_desc->image.border.b; | 3273 | p3->type.common->spec.image.b = chosen_desc->image.border.b; |
3274 | 3274 | ||
3275 | p3->type.common->spec.image.border_scale_by = chosen_desc->image.border.scale_by; | 3275 | // XXX: do NOT do this. you can use border scale by to animate transitions |
3276 | // p3->type.common->spec.image.border_scale_by = chosen_desc->image.border.scale_by; | ||
3276 | 3277 | ||
3277 | if (set && set->set) | 3278 | if (set && set->set) |
3278 | { | 3279 | { |