Revert "edje/calc: clamp part calc size to 0"

This reverts commit 895ffd93cc.

This commit broke E's widget toolbars that only had text - so many
config dialogs broke. too simple to fix - it's a wrong premise to
begin with it would seem.
This commit is contained in:
Carsten Haitzler 2019-07-31 10:12:26 +01:00
parent 1e363538b3
commit 8dbdcff3cb
1 changed files with 0 additions and 2 deletions

View File

@ -3018,9 +3018,7 @@ _edje_part_recalc_single(Edje *ed,
params->req.x = TO_INT(params->eval.x);
params->req.y = TO_INT(params->eval.y);
params->req.w = TO_INT(params->eval.w);
if (params->req.w < 0) params->req.w = 0;
params->req.h = TO_INT(params->eval.h);
if (params->req.h < 0) params->req.h = 0;
/* adjust for min size */
_edje_part_recalc_single_min(desc, params, minw, minh, apref);