edje - fix min size calc after being broken by previous commit

37b55172b0 breaks min size calc. elm
toolbar was being squashed. e toolbars also were becoming 0 sized.
Just because a swallow does not have content does not mean it does not
affect the minimum size. there still could be a min size set on it
anyway etc. ...
This commit is contained in:
Carsten Haitzler 2019-11-28 00:06:15 +00:00
parent 0ecbb416ad
commit 2ca6c301e4
1 changed files with 0 additions and 6 deletions

View File

@ -989,12 +989,6 @@ _edje_recalc_table_parts(Edje *ed
{
ep = ed->table_parts[i];
//Ignore if the real part doesn't have swallowed object
if ((ep->part->type == EDJE_PART_TYPE_SWALLOW) &&
(ep->typedata.swallow) &&
(!ep->typedata.swallow->swallowed_object))
continue;
if (ep->calculated != FLAG_XY) // FIXME: this is always true (see for above)
_edje_part_recalc(ed, ep, (~ep->calculated) & FLAG_XY, NULL);
}