forked from enlightenment/efl
map: don't update surface unencessarily.
smart object don't need to update map surface always check the state more elaborately so minus one more surface drawing!
This commit is contained in:
parent
5b2baf173e
commit
becf6869b9
|
@ -991,7 +991,9 @@ evas_object_smart_changed_get(Evas_Object *eo_obj)
|
|||
|
||||
if (has_map)
|
||||
{
|
||||
if (obj->need_surface_clear || ((obj->changed_pchange) && (obj->changed_map)))
|
||||
|
||||
if ((obj->need_surface_clear && obj->changed && !obj->is_smart) ||
|
||||
((obj->changed_pchange) && (obj->changed_map)))
|
||||
return EINA_TRUE;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue