Merge pull request #2056 from dumganhar/iss1754-tableview-reload

fixed #1754: Wrong offset of the container in CCTableView.
This commit is contained in:
James Chen 2013-02-27 01:54:08 -08:00
commit 0132d8abbf
1 changed files with 1 additions and 0 deletions

View File

@ -101,6 +101,7 @@ CCTableViewVerticalFillOrder CCTableView::getVerticalFillOrder()
void CCTableView::reloadData()
{
m_eOldDirection = kCCScrollViewDirectionNone;
CCObject* pObj = NULL;
CCARRAY_FOREACH(m_pCellsUsed, pObj)
{