From 24ae5b53fbb0dfbeeb8a8d7d177daf85c0d5e4bf Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Fri, 21 Jul 2017 16:20:04 -0400 Subject: [PATCH] perform immediate move on bryce during autosize ensure that positioning doesn't animate across zones and break config fix T5666 --- src/bin/e_bryce.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/bin/e_bryce.c b/src/bin/e_bryce.c index 7a4e25ba3..57c840220 100644 --- a/src/bin/e_bryce.c +++ b/src/bin/e_bryce.c @@ -208,6 +208,7 @@ _bryce_autosize(Bryce *b) if (b->size_changed) elm_object_content_unset(b->scroller); _bryce_position(b, w, h, &x, &y); + evas_object_move(b->bryce, x, y); if (b->orient == E_GADGET_SITE_ORIENT_HORIZONTAL) e_efx_resize(b->bryce, E_EFX_EFFECT_SPEED_LINEAR, E_EFX_POINT(x, y), w, b->size * e_scale, 0.1, NULL, NULL); else if (b->orient == E_GADGET_SITE_ORIENT_VERTICAL) @@ -261,6 +262,7 @@ _bryce_autosize(Bryce *b) w = MIN(MAX(lw + sw, b->size * e_scale), maxw), h = b->size * e_scale; else if (b->orient == E_GADGET_SITE_ORIENT_VERTICAL) w = b->size * e_scale, h = MIN(MAX(lh + sh, b->size * e_scale), maxh); + evas_object_move(b->bryce, x, y); e_efx_resize(b->bryce, E_EFX_EFFECT_SPEED_LINEAR, E_EFX_POINT(x, y), w, h, 0.1, NULL, NULL); b->size_changed = 0; }