summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2015-11-05 15:29:34 -0500
committerMike Blumenkrantz <zmike@osg.samsung.com>2015-11-05 15:31:16 -0500
commit76276a6c7c31e00a99af2e7889d7bf91e5d56bd4 (patch)
tree1a8e26eb925d01c7618d6b2a8bb00864de65032c
parentf343a5403d49041de9010b15d88ee0388747e990 (diff)
adjust efm multi-icon drag positioning by the current pan coords
fixes positioning when dragging multiple icons after scrolling
-rw-r--r--src/bin/e_fm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/e_fm.c b/src/bin/e_fm.c
index 52b5c1c1d..0b6dc3b4c 100644
--- a/src/bin/e_fm.c
+++ b/src/bin/e_fm.c
@@ -7716,7 +7716,7 @@ _e_fm2_cb_icon_mouse_move(void *data, Evas *e, Evas_Object *obj EINA_UNUSED, voi
7716 if (ic->sd->win) 7716 if (ic->sd->win)
7717 evas_object_geometry_get(ic->sd->win, &wx, &wy, NULL, NULL); 7717 evas_object_geometry_get(ic->sd->win, &wx, &wy, NULL, NULL);
7718 if (layout) 7718 if (layout)
7719 d->x = ic->sd->x, d->y = ic->sd->y; 7719 d->x = ic->sd->x - ic->sd->pos.x, d->y = ic->sd->y - ic->sd->pos.y;
7720 else 7720 else
7721 d->x = ic->x + ic->sd->x - ic->sd->pos.x, d->y = ic->y + ic->sd->y - ic->sd->pos.y; 7721 d->x = ic->x + ic->sd->x - ic->sd->pos.x, d->y = ic->y + ic->sd->y - ic->sd->pos.y;
7722 d->x += wx, d->y += wy; 7722 d->x += wx, d->y += wy;