edje calc no longer performs calculations for group parts of fixed size > 0

when I said > 0 in the last commit message, I was thinking ahead to this commit
which I knew I would later have to make, but had not yet written because I had not
spent the requisite number of hours debugging the code to know that I needed to
have the check in both the code and the commit message

ref 3a451650d2
This commit is contained in:
Mike Blumenkrantz 2015-03-31 23:27:01 -04:00
parent 1864362aaf
commit 15f8d943aa
1 changed files with 1 additions and 1 deletions

View File

@ -3232,7 +3232,7 @@ _edje_part_recalc(Edje *ed, Edje_Real_Part *ep, int flags, Edje_Calc_Params *sta
min = &ep->chosen_description->min;
max = &ep->chosen_description->max;
}
if (min && max && (min->w == max->w) && (min->h == max->h))
if (min && max && (min->w == max->w) && (min->h == max->h) && (min->w > 0) && (min->h > 0))
mmw = min->w, mmh = min->h;
else
edje_object_size_min_calc(ep->typedata.swallow->swallowed_object,