forked from enlightenment/efl
From: Seunggyun Kim <sgyun.kim@samsung.com>
Subject: [E-devel] elm_genlist - bug fix about _update_job I found one bug in _update_job. Now, when the elm_genlist_item_update is called, all realized items have been updated. In _update_job logic, item block is recalculated if it->minw and itminw is not same. But before comparing that, itminw value is saved it->w. And it->minw value is saved in _item_realzie function. Then there are different between it->minw and itminw value. So the item block is recalculated and _item_block_position is called. After applying below patch, elm_genlist_item_update api updates only one item. SVN revision: 58082
This commit is contained in:
parent
d7ad29248d
commit
c8eb346a08
|
@ -2267,8 +2267,8 @@ _update_job(void *data)
|
|||
{
|
||||
if (it->updateme)
|
||||
{
|
||||
itminw = it->w;
|
||||
itminh = it->h;
|
||||
itminw = it->minw;
|
||||
itminh = it->minh;
|
||||
|
||||
it->updateme = EINA_FALSE;
|
||||
if (it->realized)
|
||||
|
|
Loading…
Reference in New Issue