forked from enlightenment/enlightenment
parent
9254625b31
commit
aa9f9ac26b
|
@ -817,11 +817,9 @@ _pan_item_select(Evas_Object *obj, Item *it, int scroll)
|
||||||
{
|
{
|
||||||
Smart_Data *sd = evas_object_smart_data_get(obj);
|
Smart_Data *sd = evas_object_smart_data_get(obj);
|
||||||
double align = -1;
|
double align = -1;
|
||||||
int prev = -1;
|
|
||||||
|
|
||||||
if (sd->cur_item)
|
if (sd->cur_item)
|
||||||
{
|
{
|
||||||
prev = sd->cur_item->y / (1 + sd->cur_item->h);
|
|
||||||
_item_unselect(sd->cur_item);
|
_item_unselect(sd->cur_item);
|
||||||
sd->cur_item = NULL;
|
sd->cur_item = NULL;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue