Skip to content

Commit 6904cde

Browse files
committed
Fixes issue with scaling enabled for buttons in table view
1 parent 45a98e9 commit 6904cde

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cocos2d-ui/CCTableView.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ - (id) init
8282
_button.contentSizeType = CCSizeTypeNormalized;
8383
_button.preferredSize = CGSizeMake(1, 1);
8484
_button.anchorPoint = ccp(0, 0);
85+
_button.zoomWhenHighlighted = NO;
8586
[_button setTarget:self selector:@selector(pressedCell:)];
8687
[self addChild:_button z:-1];
8788

0 commit comments

Comments
 (0)