use object position for efx resize anchoring when no move effect is active

CIDs 1352902, 1352903
This commit is contained in:
Mike Blumenkrantz 2016-03-12 10:42:19 -05:00
parent f26f6cf3dd
commit 965632fedc
1 changed files with 2 additions and 0 deletions

View File

@ -127,6 +127,8 @@ _e_efx_resize_adjust(E_EFX *e, int *ax, int *ay)
if (!erd) return;
if (e->move_data)
x = e->x, y = e->y;
else
evas_object_geometry_get(e->obj, &x, &y, NULL, NULL);
w = e->w, h = e->h;
switch (erd->anchor_type)
{