Revert "edje/calc: clamp part calc size to 0"
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>
Wed, 31 Jul 2019 09:12:26 +0000 (10:12 +0100)
committerWooHyun Jung <wh0705.jung@samsung.com>
Mon, 5 Aug 2019 02:05:24 +0000 (11:05 +0900)
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.

src/lib/edje/edje_calc.c

index fce21fd..d52af71 100644 (file)
@@ -3070,9 +3070,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;
 
    /***********************************************************************************
     * TIZEN_ONLY_FEATURE: API for handling common properties of Edje                  *