forked from enlightenment/efl
parent
d7c699670e
commit
122a51f16a
|
@ -151,8 +151,6 @@ evas_object_layer_set(Evas_Object *obj, short l)
|
|||
evas_object_raise(obj);
|
||||
return;
|
||||
}
|
||||
if (l < EVAS_LAYER_MIN) l = EVAS_LAYER_MIN;
|
||||
else if (l > EVAS_LAYER_MAX) l = EVAS_LAYER_MAX;
|
||||
e = obj->layer->evas;
|
||||
evas_object_release(obj, 1);
|
||||
obj->cur.layer = l;
|
||||
|
|
|
@ -561,7 +561,7 @@ evas_object_smart_need_recalculate_set(Evas_Object *obj, Eina_Bool value)
|
|||
|
||||
if (o->need_recalculate == value) return;
|
||||
|
||||
if (obj->recalculate_cycle > 256)
|
||||
if (obj->recalculate_cycle > 254)
|
||||
{
|
||||
ERR("Object %p is not stable during recalc loop", obj);
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue