forked from enlightenment/efl
edje: don't update edje calc cache state when only one direction was computed.
SVN revision: 67762
This commit is contained in:
parent
6c31fcf709
commit
26c7ebd1e7
|
@ -322,3 +322,9 @@
|
|||
* Added edje_object_markup_filter_callback_{add,del,del_full}.
|
||||
These let you append(delete) markup filter functions for filtering
|
||||
inserted text.
|
||||
|
||||
2012-02-08 Cedric Bail
|
||||
|
||||
* Fix bug when using EDJE_CALC_CACHE and using relative to x and y
|
||||
on separate part.
|
||||
|
||||
|
|
|
@ -2449,6 +2449,7 @@ _edje_part_recalc(Edje *ed, Edje_Real_Part *ep, int flags, Edje_Calc_Params *sta
|
|||
p1, pos);
|
||||
|
||||
#ifdef EDJE_CALC_CACHE
|
||||
if (flags == FLAG_XY)
|
||||
ep->param1.state = ed->state;
|
||||
#endif
|
||||
}
|
||||
|
@ -2501,6 +2502,7 @@ _edje_part_recalc(Edje *ed, Edje_Real_Part *ep, int flags, Edje_Calc_Params *sta
|
|||
confine_to,
|
||||
p2, pos);
|
||||
#ifdef EDJE_CALC_CACHE
|
||||
if (flags == FLAG_XY)
|
||||
ep->param2->state = ed->state;
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue