forked from enlightenment/efl
edje_edit: avoid generate '(null)' value for image.normal
This commit is contained in:
parent
7d3200c782
commit
2922b68fdf
|
@ -13669,9 +13669,9 @@ _edje_generate_source_state_image(Edje_Edit *eed, Evas_Object *obj,
|
||||||
Edje_Part_Description_Image *inherit_pd_img = (Edje_Part_Description_Image *)inherit_pd;
|
Edje_Part_Description_Image *inherit_pd_img = (Edje_Part_Description_Image *)inherit_pd;
|
||||||
|
|
||||||
|
|
||||||
/*TODO: support tweens inherit*/
|
|
||||||
if (inherit_pd)
|
if (inherit_pd)
|
||||||
{
|
{
|
||||||
|
if (img->image.id != -1)
|
||||||
name = (img->image.id == inherit_pd_img->image.id) ? EINA_FALSE : EINA_TRUE;
|
name = (img->image.id == inherit_pd_img->image.id) ? EINA_FALSE : EINA_TRUE;
|
||||||
|
|
||||||
border = ((img->image.border.l == inherit_pd_img->image.border.l) &&
|
border = ((img->image.border.l == inherit_pd_img->image.border.l) &&
|
||||||
|
|
Loading…
Reference in New Issue