We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a696415 commit 5f68099Copy full SHA for 5f68099
cocos2d-ui/CCBReader/CCAnimationManager.m
@@ -201,7 +201,7 @@ - (CCActionInterval*)actionFromKeyframe0:(CCBKeyframe*)kf0 andKeyframe1:(CCBKeyf
201
} else if ([name isEqualToString:@"rotationalSkewY"]) {
202
return [CCActionRotateTo actionWithDuration:duration angleY:[kf1.value floatValue]];
203
} else if ([name isEqualToString:@"opacity"]) {
204
- return [CCActionFadeTo actionWithDuration:duration opacity:[kf1.value intValue]];
+ return [CCActionFadeTo actionWithDuration:duration opacity:[kf1.value floatValue]];
205
} else if ([name isEqualToString:@"color"]) {
206
CCColor* color = kf1.value;
207
return [CCActionTintTo actionWithDuration:duration color:color];
0 commit comments