forked from enlightenment/efl
Do set the max to the image size if asked for it
SVN revision: 67567
This commit is contained in:
parent
16b49b02f5
commit
fdbbef9af9
|
@ -1978,8 +1978,8 @@ _edje_part_recalc_single(Edje *ed,
|
||||||
}
|
}
|
||||||
if (((Edje_Part_Description_Image *)chosen_desc)->image.max.limit)
|
if (((Edje_Part_Description_Image *)chosen_desc)->image.max.limit)
|
||||||
{
|
{
|
||||||
if (w < maxw) maxw = w;
|
if ((maxw <= 0) || (w < maxw)) maxw = w;
|
||||||
if (h < maxh) maxh = h;
|
if ((maxh <= 0) || (h < maxh)) maxh = h;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue