forked from enlightenment/efl
edje: edje_calc - fix deffect by find the part description when 'approximate' is EINA_FALSE
Reviewers: cedric, raster, seoz Reviewed By: cedric CC: cedric Differential Revision: https://phab.enlightenment.org/D495 Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
This commit is contained in:
parent
ec41f67be4
commit
793a1a5c1c
|
@ -322,10 +322,13 @@ _edje_part_description_find(Edje *ed, Edje_Real_Part *rp, const char *state_name
|
|||
if (d->state.name && (d->state.name == state_name ||
|
||||
!strcmp(d->state.name, state_name)))
|
||||
{
|
||||
if (!approximate && d->state.value == state_val)
|
||||
if (!approximate)
|
||||
{
|
||||
return _edje_get_description_by_orientation(ed, d,
|
||||
&ep->other.desc_rtl[i], ep->type);
|
||||
if (d->state.value == state_val)
|
||||
return _edje_get_description_by_orientation(ed, d,
|
||||
&ep->other.desc_rtl[i], ep->type);
|
||||
else
|
||||
continue;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue