forked from enlightenment/enlightenment
e17/evry: smoother scrolling, add less items outside of viewport to queue.
SVN revision: 58521
This commit is contained in:
parent
6c0b3d818d
commit
8e654ecb03
|
@ -183,17 +183,12 @@ _thumb_idler(void *data)
|
||||||
|
|
||||||
e_thumb_icon_begin(it->thumb);
|
e_thumb_icon_begin(it->thumb);
|
||||||
it->do_thumb = EINA_TRUE;
|
it->do_thumb = EINA_TRUE;
|
||||||
|
|
||||||
if (it->image)
|
|
||||||
edje_object_signal_emit(it->frame, "e,action,thumb,show_delayed", "e");
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
edje_object_signal_emit(it->frame, "e,action,thumb,show", "e");
|
edje_object_signal_emit(it->frame, "e,action,thumb,show", "e");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
sd->queue = eina_list_remove_list(sd->queue, l);
|
sd->queue = eina_list_remove_list(sd->queue, l);
|
||||||
|
|
||||||
if (cnt++ > 10)
|
if (cnt++ > 10)
|
||||||
|
@ -536,8 +531,8 @@ _e_smart_reconfigure_do(void *data)
|
||||||
xx = sd->x - sd->cx + it->x + ox;
|
xx = sd->x - sd->cx + it->x + ox;
|
||||||
yy = sd->y - sd->cy + it->y + oy;
|
yy = sd->y - sd->cy + it->y + oy;
|
||||||
|
|
||||||
if (E_INTERSECTS(xx, yy, it->w, it->h, 0, sd->y - (it->h*4),
|
if (E_INTERSECTS(xx, yy, it->w, it->h, 0, sd->y - it->h,
|
||||||
sd->x + sd->w, sd->y + sd->h + it->h*8))
|
sd->x + sd->w, sd->y + sd->h + it->h))
|
||||||
{
|
{
|
||||||
if (!it->visible)
|
if (!it->visible)
|
||||||
_item_show(sd->view, it, obj);
|
_item_show(sd->view, it, obj);
|
||||||
|
|
Loading…
Reference in New Issue