mirror of https://github.com/axmolengine/axmol.git
Merge pull request #2056 from dumganhar/iss1754-tableview-reload
fixed #1754: Wrong offset of the container in CCTableView.
This commit is contained in:
commit
0132d8abbf
|
@ -101,6 +101,7 @@ CCTableViewVerticalFillOrder CCTableView::getVerticalFillOrder()
|
||||||
|
|
||||||
void CCTableView::reloadData()
|
void CCTableView::reloadData()
|
||||||
{
|
{
|
||||||
|
m_eOldDirection = kCCScrollViewDirectionNone;
|
||||||
CCObject* pObj = NULL;
|
CCObject* pObj = NULL;
|
||||||
CCARRAY_FOREACH(m_pCellsUsed, pObj)
|
CCARRAY_FOREACH(m_pCellsUsed, pObj)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue