EFM: on [↑] or [↓] key, use the same distance function for "normal" view modes as for "custom" view modes so that selection doesn't get jumpy.

SVN revision: 48542
This commit is contained in:
Chidambar Zinnoury 2010-05-02 07:03:32 +00:00
parent 1b1634570e
commit 94fe8e9020
1 changed files with 2 additions and 2 deletions

View File

@ -5334,7 +5334,7 @@ _e_fm2_icon_sel_down(Evas_Object *obj)
}
else if (ic->y > y)
{
dist = (abs(ic->x - x));
dist = (abs(ic->x - x)) + (ic->y - y) * 2;
if (dist < min)
{
min = dist;
@ -5409,7 +5409,7 @@ _e_fm2_icon_sel_up(Evas_Object *obj)
}
else if (ic->y < y)
{
dist = (abs(ic->x - x));
dist = (abs(ic->x - x)) + (y - ic->y) * 2;
if (dist < min)
{
min = dist;