break;
case EDJE_TWEEN_MODE_DECELERATE:
npos = FROM_DOUBLE(ecore_animator_pos_map(TO_DOUBLE(pos),
- ECORE_POS_MAP_DECELERATE,
+ ECORE_POS_MAP_DECELERATE,
0.0, 0.0));
break;
case EDJE_TWEEN_MODE_LINEAR:
_edje_real_part_rel_to_apply(ed, ep, ep->param2);
- if (ep->description_pos != 0.0)
+ if (ep->description_pos > FROM_DOUBLE(0.0))
ep->chosen_description = epd2;
}
}
if (rp->program)
- _edje_program_end(ed, rp->program);
+ _edje_program_end(ed, rp->program);
_edje_part_description_apply(ed, rp,
rp->param1.description->state.name,
rp->param1.description->state.value,
if (rp)
{
if (rp->program)
- _edje_program_end(ed, rp->program);
+ _edje_program_end(ed, rp->program);
_edje_part_description_apply(ed, rp,
pr->state,
pr->value,
rp = _edje_real_part_get(ed, pr->filter.part ? pr->filter.part : src);
if (rp)
- exec = (rp->chosen_description->state.name == pr->filter.state);
+ {
+ if (rp->program)
+ exec = EINA_FALSE;
+ else
+ exec = (rp->chosen_description->state.name == pr->filter.state);
+ }
}
if (exec)