Merge pull request #13673 from Almax27/patch-3

Removed ScrollView::_innerContainer pointer copy
This commit is contained in:
子龙山人 2015-09-15 17:42:20 +08:00
commit f5848290a2
1 changed files with 1 additions and 1 deletions

View File

@ -1401,8 +1401,8 @@ void ScrollView::copySpecialProperties(Widget *widget)
if (scrollView)
{
Layout::copySpecialProperties(widget);
_innerContainer = scrollView->_innerContainer;
setDirection(scrollView->_direction);
setInnerContainerPosition(scrollView->getInnerContainerPosition());
setInnerContainerSize(scrollView->getInnerContainerSize());
_topBoundary = scrollView->_topBoundary;
_bottomBoundary = scrollView->_bottomBoundary;