forked from enlightenment/efl
parent
bd1860ffcc
commit
42860b89ad
|
@ -37,7 +37,6 @@ _evas_map_calc_map_geometry(Evas_Object *obj)
|
||||||
Eina_Bool ch = EINA_FALSE;
|
Eina_Bool ch = EINA_FALSE;
|
||||||
|
|
||||||
if (!obj->cur.map) return;
|
if (!obj->cur.map) return;
|
||||||
|
|
||||||
// WARN: Do not merge below code to SLP until it is fixed.
|
// WARN: Do not merge below code to SLP until it is fixed.
|
||||||
// It has an infinite loop bug.
|
// It has an infinite loop bug.
|
||||||
if (obj->prev.map)
|
if (obj->prev.map)
|
||||||
|
@ -62,12 +61,12 @@ _evas_map_calc_map_geometry(Evas_Object *obj)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
ch = 1;
|
ch = EINA_TRUE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
ch = 1;
|
ch = EINA_TRUE;
|
||||||
|
|
||||||
p = obj->cur.map->points;
|
p = obj->cur.map->points;
|
||||||
p_end = p + obj->cur.map->count;
|
p_end = p + obj->cur.map->count;
|
||||||
x1 = x2 = lround(p->x);
|
x1 = x2 = lround(p->x);
|
||||||
|
|
Loading…
Reference in New Issue