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 1a5c6a2 commit df71a6dCopy full SHA for df71a6d
cocos2d-ui/CCBReader/CCAnimationManager.m
@@ -857,6 +857,13 @@ - (CCActionSequence*)createActionForNode:(CCNode*)node sequenceProperty:(CCBSequ
857
858
CCActionInterval* action = [self actionFromKeyframe0:startKF andKeyframe1:endKF propertyName:seqProp.name node:node];
859
860
+ // Create delay to fix instant easing on non instant actions
861
+ if(startKF.easingType==kCCBKeyframeEasingInstant &&
862
+ ![seqProp.name isEqualToString:@"spriteFrame"] &&
863
+ ![seqProp.name isEqualToString:@"visible"]) {
864
+ [actions addObject:[CCActionDelay actionWithDuration:action.duration]];
865
+ }
866
+
867
if (action) {
868
// Apply Easing
869
action = [self easeAction:action easingType:startKF.easingType easingOpt:startKF.easingOpt];
0 commit comments