Skip to content

Commit 3e3765f

Browse files
committed
Merge pull request #824 from crmagicxxx/_CCButonZoomFix
CCButton fix for "zoom when highlighted"
2 parents be60e80 + 2a08ca9 commit 3e3765f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cocos2d-ui/CCButton.m

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -321,6 +321,8 @@ - (void) stateChanged
321321
}
322322

323323
[_label stopAllActions];
324+
[_background stopAllActions];
325+
324326
if (_zoomWhenHighlighted)
325327
{
326328
_label.scaleX = _originalScaleX;

0 commit comments

Comments
 (0)