Upgrade cocos/storage & extensions to v3.13

This commit is contained in:
pandamicro
2016-08-05 19:48:24 +08:00
parent ab95942886
commit 1bbdb8e80a
21 changed files with 136 additions and 129 deletions
@@ -94,7 +94,7 @@ bool ControlButton::initWithLabelAndBackgroundSprite(Node* node, ui::Scale9Sprit
_scaleRatio = 1.1f;
// Set the default anchor point
ignoreAnchorPointForPosition(false);
setIgnoreAnchorPointForPosition(false);
setAnchorPoint(Vec2::ANCHOR_MIDDLE);
// Set the nodes
@@ -228,7 +228,7 @@ void ControlButton::setZoomOnTouchDown(bool zoomOnTouchDown)
_zoomOnTouchDown = zoomOnTouchDown;
}
bool ControlButton::getZoomOnTouchDown()
bool ControlButton::getZoomOnTouchDown() const
{
return _zoomOnTouchDown;
}
@@ -753,4 +753,3 @@ ControlButton* ControlButton::create()
}
NS_CC_EXT_END