forked from enlightenment/efl
genlist item block recalc checks now more readable
This commit is contained in:
parent
dbc3b87b18
commit
2bcbe743d1
|
@ -664,10 +664,10 @@ _calc_job(void *data)
|
||||||
itb->y = y;
|
itb->y = y;
|
||||||
itb->x = 0;
|
itb->x = 0;
|
||||||
minh += itb->minh;
|
minh += itb->minh;
|
||||||
if (minw == -1) minw = itb->minw;
|
if (minw < itb->minw)
|
||||||
else if ((!itb->must_recalc) && (minw < itb->minw))
|
|
||||||
{
|
{
|
||||||
minw = itb->minw;
|
minw = itb->minw;
|
||||||
|
if (minw != -1)
|
||||||
minw_change = EINA_TRUE;
|
minw_change = EINA_TRUE;
|
||||||
}
|
}
|
||||||
if ((sd->mode == ELM_LIST_COMPRESS) && (minw > vw))
|
if ((sd->mode == ELM_LIST_COMPRESS) && (minw > vw))
|
||||||
|
|
Loading…
Reference in New Issue