summaryrefslogtreecommitdiff
path: root/src/lib/edje/edje_calc.c
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2019-07-31 10:12:26 +0100
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2019-07-31 10:17:06 +0100
commit8dbdcff3cb1e544682eb6c5be6d9ecab618619e4 (patch)
tree0dbee4f7994e1087a1e44f92db9c49746a5039d0 /src/lib/edje/edje_calc.c
parent1e363538b34d41403a14350d90c780f7725927b4 (diff)
Revert "edje/calc: clamp part calc size to 0"
This reverts commit 895ffd93cc5d9e183420bbedb86ec92f5c7e5369. 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.
Diffstat (limited to '')
-rw-r--r--src/lib/edje/edje_calc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lib/edje/edje_calc.c b/src/lib/edje/edje_calc.c
index 540efa2bf3..f3d31c8502 100644
--- a/src/lib/edje/edje_calc.c
+++ b/src/lib/edje/edje_calc.c
@@ -3018,9 +3018,7 @@ _edje_part_recalc_single(Edje *ed,
3018 params->req.x = TO_INT(params->eval.x); 3018 params->req.x = TO_INT(params->eval.x);
3019 params->req.y = TO_INT(params->eval.y); 3019 params->req.y = TO_INT(params->eval.y);
3020 params->req.w = TO_INT(params->eval.w); 3020 params->req.w = TO_INT(params->eval.w);
3021 if (params->req.w < 0) params->req.w = 0;
3022 params->req.h = TO_INT(params->eval.h); 3021 params->req.h = TO_INT(params->eval.h);
3023 if (params->req.h < 0) params->req.h = 0;
3024 3022
3025 /* adjust for min size */ 3023 /* adjust for min size */
3026 _edje_part_recalc_single_min(desc, params, minw, minh, apref); 3024 _edje_part_recalc_single_min(desc, params, minw, minh, apref);