diff options
author | Mike Blumenkrantz <zmike@osg.samsung.com> | 2017-07-21 16:20:04 -0400 |
---|---|---|
committer | Mike Blumenkrantz <zmike@osg.samsung.com> | 2017-07-28 16:21:31 -0400 |
commit | d9d1130bc01cd9a6ddf128a43b1886c069f1cfda (patch) | |
tree | 1f5714077aa3cd7574fbd07bf4cfc525f99e1b1e | |
parent | ebb5f6061a6b940a13051f3a4c5e2641256238bb (diff) | |
download | enlightenment-d9d1130bc01cd9a6ddf128a43b1886c069f1cfda.tar.gz |
perform immediate move on bryce during autosize
ensure that positioning doesn't animate across zones and break config
fix T5666
-rw-r--r-- | src/bin/e_bryce.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bin/e_bryce.c b/src/bin/e_bryce.c index 2042e7ad6e..00af04e3d3 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; } |