diff options
author | Mike Blumenkrantz <zmike@osg.samsung.com> | 2015-11-05 15:29:34 -0500 |
---|---|---|
committer | Mike Blumenkrantz <zmike@osg.samsung.com> | 2015-11-05 15:31:16 -0500 |
commit | 76276a6c7c31e00a99af2e7889d7bf91e5d56bd4 (patch) | |
tree | 1a8e26eb925d01c7618d6b2a8bb00864de65032c | |
parent | f343a5403d49041de9010b15d88ee0388747e990 (diff) | |
download | enlightenment-76276a6c7c31e00a99af2e7889d7bf91e5d56bd4.tar.gz |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/e_fm.c b/src/bin/e_fm.c index 52b5c1c1db..0b6dc3b4cb 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 if (ic->sd->win) evas_object_geometry_get(ic->sd->win, &wx, &wy, NULL, NULL); if (layout) - d->x = ic->sd->x, d->y = ic->sd->y; + d->x = ic->sd->x - ic->sd->pos.x, d->y = ic->sd->y - ic->sd->pos.y; else d->x = ic->x + ic->sd->x - ic->sd->pos.x, d->y = ic->y + ic->sd->y - ic->sd->pos.y; d->x += wx, d->y += wy; |