box: Fix bad floating point comparison
This led to a completely invalid layout when using the Ui.Box
widget. Clearly the patch hasn't been thought through and tested
properly.
No comment.
Fixes dc022d602d
This commit is contained in:
parent
a7c50179d3
commit
10a215354a
|
@ -156,7 +156,7 @@ _efl_ui_box_custom_layout(Efl_Ui_Box *ui_box, Evas_Object_Box_Data *bd)
|
|||
|
||||
if (extra < 0) extra = 0;
|
||||
|
||||
if (!EINA_DBL_CMP(weight[!horiz], 0))
|
||||
if (EINA_DBL_CMP(weight[!horiz], 0))
|
||||
{
|
||||
if (box_fill[!horiz])
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue