summaryrefslogtreecommitdiff
path: root/src/lib/edje/edje_box_layout.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/edje/edje_box_layout.c')
-rw-r--r--src/lib/edje/edje_box_layout.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/edje/edje_box_layout.c b/src/lib/edje/edje_box_layout.c
index a1c0d60..a3458cf 100644
--- a/src/lib/edje/edje_box_layout.c
+++ b/src/lib/edje/edje_box_layout.c
@@ -107,7 +107,8 @@ static void
107_edje_box_layout(Evas_Object *obj, Evas_Object_Box_Data *priv, void *data) 107_edje_box_layout(Evas_Object *obj, Evas_Object_Box_Data *priv, void *data)
108{ 108{
109 Edje_Part_Box_Animation *anim = data; 109 Edje_Part_Box_Animation *anim = data;
110 if (anim->progress < 0.01) 110
111 if (anim->progress == 0.0)
111 { 112 {
112 if (anim->start.layout) 113 if (anim->start.layout)
113 { 114 {
@@ -194,7 +195,7 @@ _edje_box_recalc_apply(Edje *ed EINA_UNUSED, Edje_Real_Part *ep, Edje_Calc_Param
194 ep->typedata.container->anim->end.layout = NULL; 195 ep->typedata.container->anim->end.layout = NULL;
195 } 196 }
196 197
197 if (ep->description_pos < 0.01 || !ep->typedata.container->anim->start.layout) 198 if (ep->description_pos == 0.0 || !ep->typedata.container->anim->start.layout)
198 { 199 {
199 _edje_box_layout_find_all(chosen_desc->box.layout, chosen_desc->box.alt_layout, &ep->typedata.container->anim->start.layout, &ep->typedata.container->anim->start.data, &ep->typedata.container->anim->start.free_data); 200 _edje_box_layout_find_all(chosen_desc->box.layout, chosen_desc->box.alt_layout, &ep->typedata.container->anim->start.layout, &ep->typedata.container->anim->start.data, &ep->typedata.container->anim->start.free_data);
200 ep->typedata.container->anim->start.padding.x = chosen_desc->box.padding.x; 201 ep->typedata.container->anim->start.padding.x = chosen_desc->box.padding.x;