File tree 2 files changed +4
-4
lines changed
DragonBones/src/dragonBones
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ package dragonBones.objects
22
22
{
23
23
if (animationConfig)
24
24
{
25
- animationConfig.. returnToPool();
25
+ animationConfig. returnToPool();
26
26
}
27
27
28
28
type = ActionType. None ;
@@ -31,4 +31,4 @@ package dragonBones.objects
31
31
animationConfig = null ;
32
32
}
33
33
}
34
- }
34
+ }
Original file line number Diff line number Diff line change 462
462
463
463
var i: uint = 0 , l: uint = 0 ;
464
464
var insertedFrame: AnimationFrameData = null ;
465
- const replacedFrame: AnimationFrameData = frames. length ? frames[ frameStart] as AnimationFrameData: null ;
465
+ const replacedFrame: AnimationFrameData = ( frames. length > 0 && frameStart < frames . length ) ? frames[ frameStart] as AnimationFrameData: null ;
466
466
467
467
if (replacedFrame && (frameStart == 0 || frames[ frameStart - 1 ] == replacedFrame. prev)) // Key frame.
468
468
{
541
541
frames. fixed = true ;
542
542
}
543
543
}
544
- }
544
+ }
You can’t perform that action at this time.
0 commit comments