Skip to content

Commit 2a08ca9

Browse files
committed
Fix for zoom when highlighted
1 parent b777bb9 commit 2a08ca9

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)