summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2016-03-12 10:42:19 -0500
committerMike Blumenkrantz <zmike@osg.samsung.com>2016-03-12 16:52:50 -0500
commit3968921e2759f71aa7d4402a8b2b68bd315e189e (patch)
treef129e3c9413c9e3e208b0f2ca65dec03d077dfcf
parent7fcf66ce566490250c7c06cba4ee95994b229637 (diff)
use object position for efx resize anchoring when no move effect is active
CIDs 1352902, 1352903
-rw-r--r--src/lib/efx_resize.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/efx_resize.c b/src/lib/efx_resize.c
index d489901..c6015b0 100644
--- a/src/lib/efx_resize.c
+++ b/src/lib/efx_resize.c
@@ -127,6 +127,8 @@ _efx_resize_adjust(EFX *e, int *ax, int *ay)
127 if (!erd) return; 127 if (!erd) return;
128 if (e->move_data) 128 if (e->move_data)
129 x = e->x, y = e->y; 129 x = e->x, y = e->y;
130 else
131 evas_object_geometry_get(e->obj, &x, &y, NULL, NULL);
130 w = e->w, h = e->h; 132 w = e->w, h = e->h;
131 switch (erd->anchor_type) 133 switch (erd->anchor_type)
132 { 134 {