forked from enlightenment/enlightenment
use object position for efx resize anchoring when no move effect is active
CIDs 1352902, 1352903
This commit is contained in:
parent
f26f6cf3dd
commit
965632fedc
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue