mirror of https://github.com/axmolengine/axmol.git
Merge pull request #13673 from Almax27/patch-3
Removed ScrollView::_innerContainer pointer copy
This commit is contained in:
commit
f5848290a2
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue