mirror of https://github.com/axmolengine/axmol.git
fix warning
This commit is contained in:
parent
7eead2b75a
commit
db8dc25b01
|
@ -209,7 +209,7 @@ void Timeline::binarySearchKeyFrame(int frameIndex)
|
|||
void Timeline::updateCurrentKeyFrame(int frameIndex)
|
||||
{
|
||||
if(frameIndex > 60)
|
||||
int a = 0;
|
||||
|
||||
//! If play to current frame's front or back, then find current frame again
|
||||
if (frameIndex < _currentKeyFrameIndex || frameIndex >= _currentKeyFrameIndex + _betweenDuration)
|
||||
{
|
||||
|
|
|
@ -62,7 +62,7 @@ namespace ui {
|
|||
}
|
||||
|
||||
//Size
|
||||
const Vec2& LayoutComponent::getOwnerContentSize()const
|
||||
Vec2 LayoutComponent::getOwnerContentSize()const
|
||||
{
|
||||
return this->getOwner()->getContentSize();
|
||||
}
|
||||
|
|
|
@ -68,7 +68,7 @@ NS_CC_BEGIN
|
|||
const Vec2& getOwnerPosition()const;
|
||||
void setOwnerPosition(const Vec2& point);
|
||||
|
||||
const Vec2& getOwnerContentSize()const;
|
||||
Vec2 getOwnerContentSize()const;
|
||||
void setOwnerContentSize(const Vec2& size);
|
||||
|
||||
const Vec2& getPercentContentSize()const;
|
||||
|
|
Loading…
Reference in New Issue