forked from enlightenment/efl
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:
parent
1e363538b3
commit
8dbdcff3cb
|
@ -3018,9 +3018,7 @@ _edje_part_recalc_single(Edje *ed,
|
||||||
params->req.x = TO_INT(params->eval.x);
|
params->req.x = TO_INT(params->eval.x);
|
||||||
params->req.y = TO_INT(params->eval.y);
|
params->req.y = TO_INT(params->eval.y);
|
||||||
params->req.w = TO_INT(params->eval.w);
|
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);
|
params->req.h = TO_INT(params->eval.h);
|
||||||
if (params->req.h < 0) params->req.h = 0;
|
|
||||||
|
|
||||||
/* adjust for min size */
|
/* adjust for min size */
|
||||||
_edje_part_recalc_single_min(desc, params, minw, minh, apref);
|
_edje_part_recalc_single_min(desc, params, minw, minh, apref);
|
||||||
|
|
Loading…
Reference in New Issue